GEOS
3.14.0dev
|
Utility methods for processing SegmentStrings. More...
#include <SegmentStringUtil.h>
Static Public Member Functions | |
static void | extractSegmentStrings (const geom::Geometry *g, SegmentString::ConstVect &segStr) |
Extracts all linear components from a given Geometry to SegmentStrings. More... | |
Utility methods for processing SegmentStrings.
|
inlinestatic |
Extracts all linear components from a given Geometry to SegmentStrings.
The SegmentString data item is set to be the source Geometry.
g | the geometry to extract from |
segStr | a List of SegmentStrings (output parameter). Ownership of elements pushed to the vector is transferred to caller. |
References geos::geom::util::LinearComponentExtracter::getLines().