21 #ifndef GEOS_LINEARREF_LENGTHINDEXEDLINE_H
22 #define GEOS_LINEARREF_LENGTHINDEXEDLINE_H
24 #include <geos/export.h>
25 #include <geos/geom/Coordinate.h>
26 #include <geos/geom/Geometry.h>
27 #include <geos/linearref/LinearLocation.h>
51 double positiveIndex(
double index)
const;
Represents a location along a LineString or MultiLineString.
Definition: LinearLocation.h:44
geom::Geometry * extractLine(double startIndex, double endIndex) const
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
double clampIndex(double index) const
double getEndIndex() const
double * indicesOf(const geom::Geometry *subLine) const
LengthIndexedLine(const geom::Geometry *linearGeom)
Constructs an object which allows a linear Geometry to be linearly referenced using length as an inde...
double indexOfAfter(const geom::Coordinate &pt, double minIndex) const
geom::Coordinate extractPoint(double index) const
Computes the Coordinate for the point on the line at the given index. If the index is out of range th...
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
geom::Coordinate extractPoint(double index, double offsetDistance) const
Computes the Coordinate for the point on the line at the given index, offset by the given distance.
Supports linear referencing along a linear Geometry using the length along the line as the index....
Definition: LengthIndexedLine.h:46
double project(const geom::Coordinate &pt) const
bool isValidIndex(double index) const
double getStartIndex() const
double indexOf(const geom::Coordinate &pt) const