Class SimpleSegmentSetMutualIntersector
Intersects two sets of ISegmentStrings using brute-force comparison.
Implements
Inherited Members
Namespace: NetTopologySuite.Noding
Assembly: NetTopologySuite.dll
Syntax
public class SimpleSegmentSetMutualIntersector : ISegmentSetMutualIntersector
Constructors
| Improve this Doc View SourceSimpleSegmentSetMutualIntersector(IEnumerable<ISegmentString>)
Constructs a new intersector for a given set of ISegmentStrings.
Declaration
public SimpleSegmentSetMutualIntersector(IEnumerable<ISegmentString> baseSegStrings)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ISegmentString> | baseSegStrings | The base segment strings to intersect |
Methods
| Improve this Doc View SourceProcess(IEnumerable<ISegmentString>, ISegmentIntersector)
Calls ProcessIntersections(ISegmentString, Int32, ISegmentString, Int32) for all candidate intersections between the given collection of SegmentStrings and the set of base segments.
Declaration
public 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 occurences or add intersection nodes to the input segment strings. |