Table of Contents

Interface ISegmentSetMutualIntersector

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

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).

public interface ISegmentSetMutualIntersector

Methods

Process(IEnumerable<ISegmentString>, ISegmentIntersector)

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

void Process(IEnumerable<ISegmentString> segmentStrings, ISegmentIntersector segmentIntersector)

Parameters

segmentStrings IEnumerable<ISegmentString>

A collection of ISegmentStrings to node

segmentIntersector ISegmentIntersector

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