GEOS 3.11.1
|
Nodes a set of SegmentString
s by performing a brute-force comparison of every segment to every other one.
More...
#include <SimpleNoder.h>
Public Member Functions | |
SimpleNoder (SegmentIntersector *nSegInt=nullptr) | |
void | computeNodes (std::vector< SegmentString * > *inputSegmentStrings) override |
Computes the noding for a collection of SegmentString s. More... | |
std::vector< SegmentString * > * | getNodedSubstrings () const override |
Returns a Collection of fully noded SegmentString s. More... | |
Public Member Functions inherited from geos::noding::SinglePassNoder | |
SinglePassNoder (SegmentIntersector *nSegInt=nullptr) | |
virtual void | setSegmentIntersector (SegmentIntersector *newSegInt) |
Sets the SegmentIntersector to use with this noder. More... | |
void | computeNodes (std::vector< SegmentString * > *segStrings) override=0 |
Computes the noding for a collection of SegmentString s. More... | |
std::vector< SegmentString * > * | getNodedSubstrings () const override=0 |
Returns a Collection of fully noded SegmentString s. 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... | |
Additional Inherited Members | |
Protected Attributes inherited from geos::noding::SinglePassNoder | |
SegmentIntersector * | segInt |
Externally owned. | |
Nodes a set of SegmentString
s by performing a brute-force comparison of every segment to every other one.
This has n^2 performance, so is too slow for use on large numbers of segments.
|
overridevirtual |
Computes the noding for a collection of SegmentString
s.
segStrings | a collection of SegmentString s to node |
Implements geos::noding::SinglePassNoder.
|
inlineoverridevirtual |
Returns a Collection of fully noded SegmentString
s.
The SegmentStrings have the same context as their parent.
Implements geos::noding::SinglePassNoder.