GEOS
3.14.0dev
|
#include <ValidatingNoder.h>
Public Member Functions | |
ValidatingNoder (Noder &noderArg) | |
void | computeNodes (std::vector< SegmentString * > *segStrings) override |
Computes the noding for a collection of SegmentStrings. More... | |
void | validate () |
std::vector< SegmentString * > * | getNodedSubstrings () const override |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent. More... | |
A wrapper for noding::Noders which validates the output arrangement is correctly noded. An arrangement of line segments is fully noded if there is no line segment which has another segment intersecting its interior. If the noding is not correct, a util::TopologyException is thrown with details of the first invalid location found.
|
overridevirtual |
Computes the noding for a collection of SegmentStrings.
Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.
segStrings | a collection of SegmentStrings to node The caller remains responsible for releasing the memory associated with the container and its elements. |
Implements geos::noding::Noder.
|
overridevirtual |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
Implements geos::noding::Noder.