21 #ifndef GEOS_NODING_SEGMENTSTRINGUTIL_H
22 #define GEOS_NODING_SEGMENTSTRINGUTIL_H
24 #include <geos/noding/NodedSegmentString.h>
25 #include <geos/geom/LineString.h>
26 #include <geos/geom/CoordinateSequence.h>
27 #include <geos/geom/util/LinearComponentExtracter.h>
60 SegmentString::ConstVect& segStr)
65 for (std::size_t i=0, n=lines.size(); i<n; i++)
83 #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:58
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
Definition: LineString.h:71
std::vector< const LineString * > ConstVect
A vector of const LineString pointers.
Definition: LineString.h:78
static void extractSegmentStrings(const geom::Geometry *g, SegmentString::ConstVect &segStr)
Extracts all linear components from a given Geometry to SegmentStrings.
Definition: SegmentStringUtil.h:59
Utility methods for processing SegmentStrings.
Definition: SegmentStringUtil.h:38
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:60