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;
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:167
double indexOfAfter(const geom::Coordinate &pt, double minIndex) const
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.
double project(const geom::Coordinate &pt) const
LengthIndexedLine(const geom::Geometry *linearGeom)
Constructs an object which allows a linear Geometry to be linearly referenced using length as an inde...
geom::Geometry * extractLine(double startIndex, double endIndex) const
bool isValidIndex(double index) const
double * indicesOf(const geom::Geometry *subLine) const
double getEndIndex() const
double getStartIndex() const
double indexOf(const geom::Coordinate &pt) 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...
double clampIndex(double index) const
Represents a location along a LineString or MultiLineString.
Definition LinearLocation.h:44
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25