21 #ifndef GEOS_LINEARREF_LINEARITERATOR_H
22 #define GEOS_LINEARREF_LINEARITERATOR_H
26 #include <geos/geom/Coordinate.h>
27 #include <geos/geom/Geometry.h>
28 #include <geos/geom/LineSegment.h>
29 #include <geos/linearref/LinearLocation.h>
31 namespace geos {
namespace linearref
136 static unsigned int segmentEndVertexIndex(
const LinearLocation& loc);
139 unsigned int vertexIndex;
140 unsigned int componentIndex;
142 const unsigned int numLines;
148 void loadCurrentLine();
157 #endif // GEOS_LINEARREF_LINEARITERATOR_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:61
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
Definition: LineString.h:71
Represents a location along a LineString or MultiLineString.
Definition: LinearLocation.h:43
const geom::LineString * getLine() const
unsigned int getComponentIndex() const
unsigned int getVertexIndex() const
geom::Coordinate getSegmentEnd() const
geom::Coordinate getSegmentStart() const
LinearIterator(const geom::Geometry *linear)
An iterator over the components and coordinates of a linear geometry (LineString or MultiLineString)...
Definition: LinearIterator.h:51