GEOS 3.11.1
|
#include <SegmentExtractingNoder.h>
Public Member Functions | |
SegmentExtractingNoder () | |
void | computeNodes (std::vector< SegmentString * > *segStrings) override |
Computes the noding for a collection of SegmentStrings. More... | |
std::vector< SegmentString * > * | getNodedSubstrings () const override |
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 noder which extracts all line segments as SegmentString. This enables fast overlay of geometries which are known to be already fully noded. In particular, it provides fast union of polygonal and linear coverages. Unioning a noded set of lines is an effective way to perform line merging and line dissolving.
No precision reduction is carried out. If that is required, another noder must be used (such as a snap-rounding noder), or the input must be precision-reduced beforehand.
|
inline |
Creates a new segment-extracting noder.
|
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 |
Implements geos::noding::Noder.