Class IteratedNoder

Hierarchy: Object , IteratedNoder
All Implemented Interfaces: Noder
public class IteratedNoder
implements Noder
Nodes a set of NodedSegmentStrings completely. The set of segment strings is fully noded; i.e. noding is repeated until no further intersections are detected.

Iterated noding using a 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.

Other

  • version: 1.7
public IteratedNoder(PrecisionModel pm)
public void setMaximumIterations(int maxIter)
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 MAX_ITER.
Parameters:
maxIter - maxIter the maximum number of iterations to perform
public Collection getNodedSubstrings()
public void computeNodes(Collection segStrings)
Fully nodes a list of SegmentStrings, i.e. performs noding iteratively until no intersections are found between segments. Maintains labelling of edges correctly through the noding.
Parameters:
segStrings - segStrings a collection of SegmentStrings to be noded
Throws:
TopologyException - TopologyException if the iterated noding fails to converge.