GEOS 3.11.1
|
#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... | |
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... | |
A wrapper for noding::Noder
s 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 SegmentString s 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.