Search Results for

    Show / Hide Table of Contents

    Class RobustLineIntersector

    A robust version of LineIntersector.

    Inheritance
    object
    LineIntersector
    RobustLineIntersector
    Inherited Members
    LineIntersector.NoIntersection
    LineIntersector.PointIntersection
    LineIntersector.CollinearIntersection
    LineIntersector.ComputeEdgeDistance(Coordinate, Coordinate, Coordinate)
    LineIntersector.NonRobustComputeEdgeDistance(Coordinate, Coordinate, Coordinate)
    LineIntersector.Result
    LineIntersector.InputLines
    LineIntersector.IntersectionPoint
    LineIntersector.IntersectionLineIndex
    LineIntersector.Pa
    LineIntersector.Pb
    LineIntersector.PrecisionModel
    LineIntersector.GetEndpoint(int, int)
    LineIntersector.IsCollinear
    LineIntersector.ComputeIntersection(Coordinate, Coordinate, Coordinate, Coordinate)
    LineIntersector.ToString()
    LineIntersector.IsEndPoint
    LineIntersector.HasIntersection
    LineIntersector.IntersectionNum
    LineIntersector.GetIntersection(int)
    LineIntersector.ComputeIntLineIndex()
    LineIntersector.IsIntersection(Coordinate)
    LineIntersector.IsInteriorIntersection()
    LineIntersector.IsInteriorIntersection(int)
    LineIntersector.IsProper
    LineIntersector.GetIntersectionAlongSegment(int, int)
    LineIntersector.GetIndexAlongSegment(int, int)
    LineIntersector.ComputeIntLineIndex(int)
    LineIntersector.GetEdgeDistance(int, int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: NetTopologySuite.Algorithm
    Assembly: NetTopologySuite.dll
    Syntax
    public class RobustLineIntersector : LineIntersector

    Constructors

    | Edit this page View Source

    RobustLineIntersector()

    Creates an instance of this class. No ElevationModel is assigned

    Declaration
    public RobustLineIntersector()
    | Edit this page View Source

    RobustLineIntersector(ElevationModel)

    Creates an instance of this class assigning the provided ElevationModel.

    Declaration
    public RobustLineIntersector(ElevationModel elevationModel)
    Parameters
    Type Name Description
    ElevationModel elevationModel

    Properties

    | Edit this page View Source

    ElevationModel

    Gets or sets a value indicating the elevation model to use when z-ordinate is not known

    Declaration
    public ElevationModel ElevationModel { get; }
    Property Value
    Type Description
    ElevationModel

    Methods

    | Edit this page View Source

    ComputeIntersect(Coordinate, Coordinate, Coordinate, Coordinate)

    Computes the intersection of two line segments, one defined by p1 and p2, the other by q1 and q2.

    Declaration
    public override int ComputeIntersect(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2)
    Parameters
    Type Name Description
    Coordinate p1

    The 1st point of the 1st segment

    Coordinate p2

    The 2nd point of the 1st segment

    Coordinate q1

    The 1st point of the 2nd segment

    Coordinate q2

    The 2nd point of the 2nd segment

    Returns
    Type Description
    int
    Overrides
    LineIntersector.ComputeIntersect(Coordinate, Coordinate, Coordinate, Coordinate)
    Remarks

    Don't use this function directly, it is not meant for public use. Please call ComputeIntersection(Coordinate, Coordinate, Coordinate, Coordinate) and test HasIntersection or IsCollinear along with IsProper and IsEndPoint.

    | Edit this page View Source

    ComputeIntersection(Coordinate, Coordinate, Coordinate)

    Declaration
    public override void ComputeIntersection(Coordinate p, Coordinate p1, Coordinate p2)
    Parameters
    Type Name Description
    Coordinate p
    Coordinate p1
    Coordinate p2
    Overrides
    LineIntersector.ComputeIntersection(Coordinate, Coordinate, Coordinate)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX