Table of Contents

Class SimpleNoder

Namespace
NetTopologySuite.Noding
Assembly
NetTopologySuite.dll

Nodes a set of ISegmentStrings by performing a brute-force comparison of every segment to every other one. This has n^2 performance, so is too slow for use on large numbers of segments.

public class SimpleNoder : SinglePassNoder, INoder
Inheritance
SimpleNoder
Implements
Inherited Members

Constructors

SimpleNoder()

Initializes a new instance of the SimpleNoder class.

public SimpleNoder()

SimpleNoder(ISegmentIntersector)

Initializes a new instance of the SimpleNoder class.

public SimpleNoder(ISegmentIntersector segInt)

Parameters

segInt 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 override void ComputeNodes(IList<ISegmentString> inputSegStrings)

Parameters

inputSegStrings IList<ISegmentString>

GetNodedSubstrings()

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

public override IList<ISegmentString> GetNodedSubstrings()

Returns

IList<ISegmentString>