GEOS 3.11.1
|
Nodes a set of SegmentStrings completely. More...
#include <IteratedNoder.h>
Public Member Functions | |
IteratedNoder (const geom::PrecisionModel *newPm) | |
void | setMaximumIterations (int n) |
Sets the maximum number of noding iterations performed before the noding is aborted. More... | |
std::vector< SegmentString * > * | getNodedSubstrings () const override |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent. More... | |
void | computeNodes (std::vector< SegmentString * > *inputSegmentStrings) override |
Fully nodes a list of SegmentString s, i.e. peforms noding iteratively until no intersections are found between segments. More... | |
virtual void | computeNodes (std::vector< SegmentString * > *segStrings)=0 |
Computes the noding for a collection of SegmentStrings. More... | |
virtual std::vector< SegmentString * > * | getNodedSubstrings () const =0 |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent. More... | |
Nodes a set of SegmentStrings completely.
The set of segmentStrings 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.
|
overridevirtual |
Fully nodes a list of SegmentString
s, i.e. peforms noding iteratively until no intersections are found between segments.
Maintains labelling of edges correctly through the noding.
inputSegmentStrings | a collection of SegmentStrings to be noded |
TopologyException | if the iterated noding fails to converge. |
Implements geos::noding::Noder.
|
inlineoverridevirtual |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
Implements geos::noding::Noder.
|
inline |
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.
n | the maximum number of iterations to perform |