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++)
75 #endif // GEOS_NODING_SEGMENTSTRINGUTIL_H
virtual CoordinateSequence * getCoordinates() const
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
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
Definition: LineString.h:70
std::vector< const LineString * > ConstVect
A vector of const LineString pointers.
Definition: LineString.h:77
static void extractSegmentStrings(const geom::Geometry *g, SegmentString::ConstVect &segStr)
Extracts all linear components from a given Geometry to SegmentStrings.
Definition: SegmentStringUtil.h:51
Utility methods for processing SegmentStrings.
Definition: SegmentStringUtil.h:37
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59