Search Results for

    Show / Hide Table of Contents

    Interface ISegmentSetMutualIntersector

    An intersector for the red-blue intersection problem. In this class of line arrangement problem, two disjoint sets of linestrings are intersected.

    Implementing classes must provide a way of supplying the base set of segment strings to test against (e.g. in the constructor, for straightforward thread-safety).

    In order to allow optimizing processing, the following condition is assumed to hold for each set:

    Implementations can take advantage of this fact to optimize processing (i.e. by avoiding testing for intersections between linestrings belonging to the same set).

    Namespace: NetTopologySuite.Noding
    Assembly: NetTopologySuite.dll
    Syntax
    public interface ISegmentSetMutualIntersector

    Methods

    | Edit this page View Source

    Process(IEnumerable<ISegmentString>, ISegmentIntersector)

    Computes the intersections with a given set of ISegmentStrings, using the supplied ISegmentIntersector.

    Declaration
    void Process(IEnumerable<ISegmentString> segmentStrings, ISegmentIntersector segmentIntersector)
    Parameters
    Type Name Description
    IEnumerable<ISegmentString> segmentStrings

    A collection of ISegmentStrings to node

    ISegmentIntersector segmentIntersector

    The intersection detector to either record intersection occurrences or add intersection nodes to the input segment strings.

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