Class MCIndexNoder
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>.
The noder supports using an overlap tolerance distance. This allows determining segment intersection using a buffer for uses involving snapping with a distance tolerance.
Implements
Inherited Members
Namespace: NetTopologySuite.Noding
Assembly: NetTopologySuite.dll
Syntax
public class MCIndexNoder : SinglePassNoder, INoder
Constructors
| Improve this Doc View SourceMCIndexNoder()
Initializes a new instance of the MCIndexNoder class.
Declaration
public MCIndexNoder()
MCIndexNoder(ISegmentIntersector)
Initializes a new instance of the MCIndexNoder class.
Declaration
public MCIndexNoder(ISegmentIntersector si)
Parameters
Type | Name | Description |
---|---|---|
ISegmentIntersector | si | The ISegmentIntersector to use. |
MCIndexNoder(ISegmentIntersector, Double)
Initializes a new instance of the MCIndexNoder class.
Declaration
public MCIndexNoder(ISegmentIntersector si, double overlapTolerance)
Parameters
Type | Name | Description |
---|---|---|
ISegmentIntersector | si | The ISegmentIntersector to use. |
Double | overlapTolerance | The expansion distance for overlap tests |
Properties
| Improve this Doc View SourceIndex
Declaration
public ISpatialIndex<MonotoneChain> Index { get; }
Property Value
Type | Description |
---|---|
ISpatialIndex<MonotoneChain> |
MonotoneChains
Declaration
public IList<MonotoneChain> MonotoneChains { get; }
Property Value
Type | Description |
---|---|
IList<MonotoneChain> |
Methods
| Improve this Doc View SourceComputeNodes(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.
Declaration
public override void ComputeNodes(IList<ISegmentString> inputSegStrings)
Parameters
Type | Name | Description |
---|---|---|
IList<ISegmentString> | inputSegStrings |
Overrides
| Improve this Doc View SourceGetNodedSubstrings()
Returns a IList<T> of fully noded ISegmentStrings. The ISegmentStrings have the same context as their parent.
Declaration
public override IList<ISegmentString> GetNodedSubstrings()
Returns
Type | Description |
---|---|
IList<ISegmentString> |