Search Results for

    Show / Hide Table of Contents

    Class IntersectionAdder

    Computes the possible intersections between two line segments in ISegmentStrings and adds them to each string using AddIntersection(LineIntersector, int, int, int).

    Inheritance
    object
    IntersectionAdder
    Implements
    ISegmentIntersector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public class IntersectionAdder : ISegmentIntersector

    Constructors

    | Edit this page View Source

    IntersectionAdder(LineIntersector)

    Initializes a new instance of the IntersectionAdder class.

    Declaration
    public IntersectionAdder(LineIntersector li)
    Parameters
    Type Name Description
    LineIntersector li

    Fields

    | Edit this page View Source

    NumInteriorIntersections

    Declaration
    public int NumInteriorIntersections
    Field Value
    Type Description
    int
    | Edit this page View Source

    NumIntersections

    Declaration
    public int NumIntersections
    Field Value
    Type Description
    int
    | Edit this page View Source

    NumProperIntersections

    Declaration
    public int NumProperIntersections
    Field Value
    Type Description
    int
    | Edit this page View Source

    NumTests

    Declaration
    public int NumTests
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    HasInteriorIntersection

    An interior intersection is an intersection which is in the interior of some segment.

    Declaration
    public bool HasInteriorIntersection { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasIntersection

    Declaration
    public bool HasIntersection { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasProperInteriorIntersection

    A proper interior intersection is a proper intersection which is not contained in the set of boundary nodes set for this ISegmentIntersector.

    Declaration
    public bool HasProperInteriorIntersection { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasProperIntersection

    A proper intersection is an intersection which is interior to at least two line segments. Note that a proper intersection is not necessarily in the interior of the entire Geometry, since another edge may have an endpoint equal to the intersection, which according to SFS semantics can result in the point being on the Boundary of the Geometry.

    Declaration
    public bool HasProperIntersection { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsDone

    Always process all intersections

    Declaration
    public bool IsDone { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    LineIntersector

    Declaration
    public LineIntersector LineIntersector { get; }
    Property Value
    Type Description
    LineIntersector
    | Edit this page View Source

    ProperIntersectionPoint

    Returns the proper intersection point, or null if none was found.

    Declaration
    public Coordinate ProperIntersectionPoint { get; }
    Property Value
    Type Description
    Coordinate

    Methods

    | Edit this page View Source

    IsAdjacentSegments(int, int)

    Declaration
    public static bool IsAdjacentSegments(int i1, int i2)
    Parameters
    Type Name Description
    int i1
    int i2
    Returns
    Type Description
    bool
    | Edit this page View Source

    ProcessIntersections(ISegmentString, int, ISegmentString, int)

    This method is called by clients of the ISegmentIntersector class to process intersections for two segments of the ISegmentString being intersected.
    Note that some clients (such as MonotoneChain") may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test).

    Declaration
    public void ProcessIntersections(ISegmentString e0, int segIndex0, ISegmentString e1, int segIndex1)
    Parameters
    Type Name Description
    ISegmentString e0
    int segIndex0
    ISegmentString e1
    int segIndex1

    Implements

    ISegmentIntersector
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX