20 #ifndef GEOS_LINEARREF_LINEARITERATOR_H 21 #define GEOS_LINEARREF_LINEARITERATOR_H 25 #include <geos/geom/Coordinate.h> 26 #include <geos/geom/Geometry.h> 27 #include <geos/geom/LineSegment.h> 28 #include <geos/linearref/LinearLocation.h> 30 namespace geos {
namespace linearref
135 static unsigned int segmentEndVertexIndex(
const LinearLocation& loc);
138 unsigned int vertexIndex;
139 unsigned int componentIndex;
141 const unsigned int numLines;
149 void loadCurrentLine();
158 #endif // GEOS_LINEARREF_LINEARITERATOR_H unsigned int getVertexIndex() const
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
const geom::LineString * getLine() const
geom::Coordinate getSegmentEnd() const
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
Definition: LineString.h:70
Represents a location along a LineString or MultiLineString.
Definition: LinearLocation.h:43
unsigned int getComponentIndex() const
geom::Coordinate getSegmentStart() const
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
LinearIterator(const geom::Geometry *linear)
An iterator over the components and coordinates of a linear geometry (LineString or MultiLineString)...
Definition: LinearIterator.h:50