NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Noding.IteratedNoder Class Reference

Nodes a set of ISegmentStrings completely. The set of ISegmentStrings is fully noded; i.e. noding is repeated until no further intersections are detected. More...

Inheritance diagram for NetTopologySuite.Noding.IteratedNoder:
NetTopologySuite.Noding.INoder

Public Member Functions

 IteratedNoder (IPrecisionModel pm)
 Initializes a new instance of the IteratedNoder class. More...
 
IList< ISegmentStringGetNodedSubstrings ()
 Returns a IList of fully noded ISegmentStrings. The ISegmentStrings have the same context as their parent. More...
 
void ComputeNodes (IList< ISegmentString > segStrings)
 Fully nodes a list of ISegmentStrings, i.e. peforms noding iteratively until no intersections are found between segments. Maintains labelling of edges correctly through the noding. More...
 

Public Attributes

const int MaxIterations = 5
 

Properties

int MaximumIterations [get, set]
 Gets/Sets the maximum number of noding iterations performed before the noding is aborted. Experience suggests that this should rarely need to be changed from the default. The default is MaxIterations. More...
 

Detailed Description

Nodes a set of ISegmentStrings completely. The set of ISegmentStrings is fully noded; i.e. noding is repeated until no further intersections are detected.

Iterated noding using a PrecisionModels.Floating precision model is not guaranteed to converge, due to roundoff error. This problem is detected and an exception is thrown. Clients can choose to rerun the noding using a lower precision model.

Constructor & Destructor Documentation

NetTopologySuite.Noding.IteratedNoder.IteratedNoder ( IPrecisionModel  pm)

Initializes a new instance of the IteratedNoder class.

Parameters
pm

Member Function Documentation

void NetTopologySuite.Noding.IteratedNoder.ComputeNodes ( IList< ISegmentString segStrings)

Fully nodes a list of ISegmentStrings, i.e. peforms noding iteratively until no intersections are found between segments. Maintains labelling of edges correctly through the noding.

Parameters
segStringsA collection of SegmentStrings to be noded.
Exceptions
TopologyExceptionIf the iterated noding fails to converge.

Implements NetTopologySuite.Noding.INoder.

IList<ISegmentString> NetTopologySuite.Noding.IteratedNoder.GetNodedSubstrings ( )

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

Returns

Implements NetTopologySuite.Noding.INoder.

Member Data Documentation

const int NetTopologySuite.Noding.IteratedNoder.MaxIterations = 5

Property Documentation

int NetTopologySuite.Noding.IteratedNoder.MaximumIterations
getset

Gets/Sets the maximum number of noding iterations performed before the noding is aborted. Experience suggests that this should rarely need to be changed from the default. The default is MaxIterations.


The documentation for this class was generated from the following file: