#include <LengthLocationMap.h>
List of all members.
Detailed Description
Computes the LinearLocation for a given length along a linear Geometry. Negative lengths are measured in reverse from end of the linear geometry. Out-of-range values are clamped.
Member Function Documentation
LinearLocation geos::linearref::LengthLocationMap::getLocation |
( |
double |
length |
) |
const |
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.
- Parameters:
-
- Returns:
- the corresponding LinearLocation
Computes the LinearLocation for a given length along a linear Geometry.
- Parameters:
-
| line | the linear geometry to use |
| length | the length index of the location |
- Returns:
- the LinearLocation for the length
The documentation for this class was generated from the following file: