Table of Contents

Class SimpleSegmentSetMutualIntersector

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

Intersects two sets of ISegmentStrings using brute-force comparison.

public class SimpleSegmentSetMutualIntersector : ISegmentSetMutualIntersector
Inheritance
SimpleSegmentSetMutualIntersector
Implements
Inherited Members

Constructors

SimpleSegmentSetMutualIntersector(IEnumerable<ISegmentString>)

Constructs a new intersector for a given set of ISegmentStrings.

public SimpleSegmentSetMutualIntersector(IEnumerable<ISegmentString> baseSegStrings)

Parameters

baseSegStrings IEnumerable<ISegmentString>

The base segment strings to intersect

Methods

Process(IEnumerable<ISegmentString>, ISegmentIntersector)

Calls ProcessIntersections(ISegmentString, int, ISegmentString, int) for all candidate intersections between the given collection of SegmentStrings and the set of base segments.

public 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 occurences or add intersection nodes to the input segment strings.