#include <LengthIndexOfPoint.h>
Public Member Functions | |
| LengthIndexOfPoint (const geom::Geometry *linearGeom) | |
| double | indexOf (const geom::Coordinate &inputPt) const |
| double | indexOfAfter (const geom::Coordinate &inputPt, double minIndex) const |
| Finds the nearest index along the linear Geometry to a given Coordinate after the specified minimum index. | |
Static Public Member Functions | |
| double | indexOf (const geom::Geometry *linearGeom, const geom::Coordinate &inputPt) |
| double | indexOfAfter (const geom::Geometry *linearGeom, const geom::Coordinate &inputPt, double minIndex) |
The nearest point is not necessarily unique; this class always computes the nearest point closest to the start of the geometry.
|
|
Find the nearest location along a linear Geometry to a given point.
|
|
||||||||||||
|
Finds the nearest index along the linear Geometry to a given Coordinate after the specified minimum index.
If possible the location returned will be strictly greater than the
|
1.3.9.1