GEOS 3.14.0dev
|
Base class for Noder
s which make a single pass to find intersections.
More...
#include <SinglePassNoder.h>
Public Member Functions | |
SinglePassNoder (SegmentIntersector *nSegInt=nullptr) | |
virtual void | setSegmentIntersector (SegmentIntersector *newSegInt) |
Sets the SegmentIntersector to use with this noder. | |
void | computeNodes (std::vector< SegmentString * > *segStrings) override=0 |
Computes the noding for a collection of SegmentString s. | |
std::vector< SegmentString * > * | getNodedSubstrings () const override=0 |
Returns a Collection of fully noded SegmentString s. | |
Protected Attributes | |
SegmentIntersector * | segInt |
Externally owned. | |
Base class for Noder
s which make a single pass to find intersections.
This allows using a custom SegmentIntersector (which for instance may simply identify intersections, rather than insert them).
Last port: noding/SinglePassNoder.java rev. 1.3 (JTS-1.7)
TODO: Noder inheritance (that's just an interface!)
|
overridepure virtual |
Computes the noding for a collection of SegmentString
s.
segStrings | a collection of SegmentString s to node |
Implements geos::noding::Noder.
Implemented in geos::noding::MCIndexNoder, and geos::noding::SimpleNoder.
|
overridepure virtual |
Returns a Collection of fully noded SegmentString
s.
The SegmentStrings have the same context as their parent.
Implements geos::noding::Noder.
Implemented in geos::noding::MCIndexNoder, and geos::noding::SimpleNoder.
|
inlinevirtual |
Sets the SegmentIntersector to use with this noder.
A SegmentIntersector will normally add intersection nodes to the input segment strings, but it may not - it may simply record the presence of intersections. However, some Noders may require that intersections be added.
newSegInt |