Table of Contents

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

The noder supports using an overlap tolerance distance. This allows determining segment intersection using a buffer for uses involving snapping with a distance tolerance.
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 ISegmentIntersector

The ISegmentIntersector to use.

MCIndexNoder(ISegmentIntersector, double)

Initializes a new instance of the MCIndexNoder class.

public MCIndexNoder(ISegmentIntersector si, double overlapTolerance)

Parameters

si ISegmentIntersector

The ISegmentIntersector to use.

overlapTolerance double

The expansion distance for overlap tests

Properties

Index

public ISpatialIndex<MonotoneChain> Index { get; }

Property Value

ISpatialIndex<MonotoneChain>

MonotoneChains

public IList<MonotoneChain> MonotoneChains { get; }

Property Value

IList<MonotoneChain>

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

Returns

IList<ISegmentString>