Class MCIndexNoder
- Namespace
- NetTopologySuite.Noding
- Assembly
- NetTopologySuite.dll
Nodes a set of ISegmentStrings using a index based
on MonotoneChains and a ISpatialIndex<T>.
The ISpatialIndex<T> used should be something that supports
envelope (range) queries efficiently (such as a Quadtree
"
or STRtree<TItem>.
public class MCIndexNoder : SinglePassNoder, INoder
- Inheritance
-
MCIndexNoder
- Implements
- Inherited Members
Constructors
MCIndexNoder()
Initializes a new instance of the MCIndexNoder class.
public MCIndexNoder()
MCIndexNoder(ISegmentIntersector)
Initializes a new instance of the MCIndexNoder class.
public MCIndexNoder(ISegmentIntersector si)
Parameters
si
ISegmentIntersectorThe ISegmentIntersector to use.
MCIndexNoder(ISegmentIntersector, double)
Initializes a new instance of the MCIndexNoder class.
public MCIndexNoder(ISegmentIntersector si, double overlapTolerance)
Parameters
si
ISegmentIntersectorThe ISegmentIntersector to use.
overlapTolerance
doubleThe expansion distance for overlap tests
Properties
Index
public ISpatialIndex<MonotoneChain> Index { get; }
Property Value
MonotoneChains
public IList<MonotoneChain> MonotoneChains { get; }
Property Value
Methods
ComputeNodes(IList<ISegmentString>)
Computes the noding for a collection of ISegmentStrings. Some Noders may add all these nodes to the input ISegmentStrings; others may only add some or none at all.
public override void ComputeNodes(IList<ISegmentString> inputSegStrings)
Parameters
inputSegStrings
IList<ISegmentString>
GetNodedSubstrings()
Returns a IList<T> of fully noded ISegmentStrings. The ISegmentStrings have the same context as their parent.
public override IList<ISegmentString> GetNodedSubstrings()