22#include <geos/noding/NodedSegmentString.h>
23#include <geos/geom/LineString.h>
24#include <geos/geom/CoordinateSequence.h>
25#include <geos/geom/util/LinearComponentExtracter.h>
51 SegmentString::ConstVect& segStr)
56 for(std::size_t i = 0, n = lines.size(); i < n; i++) {
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: LineString.h:66
std::unique_ptr< CoordinateSequence > getCoordinates() const override
Returns this Geometry vertices. Caller takes ownership of the returned object.
std::vector< const LineString * > ConstVect
A vector of const LineString pointers.
Definition: LineString.h:73
Represents a list of contiguous line segments, and supports noding the segments.
Definition: NodedSegmentString.h:59
Utility methods for processing SegmentStrings.
Definition: SegmentStringUtil.h:36
static void extractSegmentStrings(const geom::Geometry *g, SegmentString::ConstVect &segStr)
Extracts all linear components from a given Geometry to SegmentStrings.
Definition: SegmentStringUtil.h:50
Basic namespace for all GEOS functionalities.
Definition: geos.h:39