Search Results for

    Show / Hide Table of Contents

    Interface ISegmentIntersector

    Processes possible intersections detected by a INoder.

    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public interface ISegmentIntersector
    Remarks

    The ISegmentIntersector is passed to a INoder.

    The ProcessIntersections(ISegmentString, int, ISegmentString, int) method is called whenever the INoder detects that two ISegmentStrings might intersect.

    This class may be used either to find all intersections, or to detect the presence of an intersection. In the latter case, Noders may choose to short-circuit their computation by calling the IsDone property.

    This class is an example of the Strategy pattern.

    This class may be used either to find all intersections, or to detect the presence of an intersection. In the latter case, Noders may choose to short-circuit their computation by calling the IsDone property.

    Properties

    | Edit this page View Source

    IsDone

    Reports whether the client of this class needs to continue testing all intersections in an arrangement.

    Declaration
    bool IsDone { get; }
    Property Value
    Type Description
    bool

    if there is no need to continue testing segments

    Methods

    | Edit this page View Source

    ProcessIntersections(ISegmentString, int, ISegmentString, int)

    This method is called by clients of the ISegmentIntersector interface to process intersections for two segments of the ISegmentStrings being intersected.

    Declaration
    void ProcessIntersections(ISegmentString e0, int segIndex0, ISegmentString e1, int segIndex1)
    Parameters
    Type Name Description
    ISegmentString e0
    int segIndex0
    ISegmentString e1
    int segIndex1
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX