#include <LengthLocationMap.h>
Public Member Functions | |
LengthLocationMap (const geom::Geometry *linearGeom) | |
LinearLocation | getLocation (double length) const |
double | getLength (const LinearLocation &loc) const |
Static Public Member Functions | |
LinearLocation | getLocation (const geom::Geometry *linearGeom, double length) |
double | getLength (const geom::Geometry *linearGeom, const LinearLocation &loc) |
|
Computes the length for a given LinearLocation on a linear Geometry.
|
|
Compute the LinearLocation corresponding to a length. Negative lengths are measured in reverse from end of the linear geometry. Out-of-range values are clamped.
|
|
Computes the LinearLocation for a given length along a linear Geometry.
|