GEOS
3.14.0dev
|
Computes all intersections between segments in a set of SegmentString. More...
#include <Noder.h>
Public Member Functions | |
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... | |
Computes all intersections between segments in a set of SegmentString.
Intersections found are represented as SegmentNodes and added to the SegmentStrings in which they occur. As a final step in the noding a new set of segment strings split at the nodes may be returned.
Last port: noding/Noder.java rev. 1.8 (JTS-1.7)
TODO: this was really an interface, we should avoid making it a Base class
|
pure virtual |
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. |
Implemented in geos::noding::SinglePassNoder, geos::noding::ValidatingNoder, geos::noding::snapround::MCIndexSnapRounder, geos::noding::SegmentExtractingNoder, geos::noding::snapround::SnapRoundingNoder, geos::noding::snap::SnappingNoder, geos::noding::BoundaryChainNoder, geos::noding::ScaledNoder, geos::noding::SimpleNoder, geos::noding::MCIndexNoder, and geos::noding::IteratedNoder.
|
pure virtual |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
Implemented in geos::noding::SinglePassNoder, geos::noding::ValidatingNoder, geos::noding::snapround::SnapRoundingNoder, geos::noding::snapround::MCIndexSnapRounder, geos::noding::snap::SnappingNoder, geos::noding::SimpleNoder, geos::noding::SegmentExtractingNoder, geos::noding::ScaledNoder, geos::noding::MCIndexNoder, geos::noding::IteratedNoder, and geos::noding::BoundaryChainNoder.