Table of Contents

Class SinglePassNoder

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

Base class for INoders which make a single pass to find intersections. This allows using a custom ISegmentIntersector (which for instance may simply identify intersections, rather than insert them).

public abstract class SinglePassNoder : INoder
Inheritance
SinglePassNoder
Implements
Derived
Inherited Members

Constructors

SinglePassNoder()

Initializes a new instance of the SinglePassNoder class.

protected SinglePassNoder()

SinglePassNoder(ISegmentIntersector)

Initializes a new instance of the SinglePassNoder class.

protected SinglePassNoder(ISegmentIntersector segInt)

Parameters

segInt ISegmentIntersector

The ISegmentIntersector to use.

Properties

SegmentIntersector

Gets/sets the ISegmentIntersector to use with this noder. A ISegmentIntersector will normally add intersection nodes to the input segment strings, but it may not - it may simply record the presence of intersections. However, some INoders may require that intersections be added.

public ISegmentIntersector SegmentIntersector { get; set; }

Property Value

ISegmentIntersector

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 abstract void ComputeNodes(IList<ISegmentString> segStrings)

Parameters

segStrings IList<ISegmentString>

GetNodedSubstrings()

Returns a IList<T> of fully noded ISegmentStrings. The ISegmentStrings have the same context as their parent.

public abstract IList<ISegmentString> GetNodedSubstrings()

Returns

IList<ISegmentString>