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