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