kiwi-postgis
Version 0.1.0.0
|
Computes the length along a LineString to the point on the line nearest a given point. More...
Public Member Functions | |
LengthToPoint (LineString line, Coordinate inputPt) | |
double | getLength () |
Static Public Member Functions | |
static double | lengthAlongSegment (LineSegment seg, Coordinate pt) |
static double | length (LineString line, Coordinate inputPt) |
Computes the length along a LineString to the point on the line nearest a given point. More... | |
Private Member Functions | |
void | computeLength (LineString line, Coordinate inputPt) |
void | updateLength (LineSegment seg, Coordinate inputPt, double segStartLocationDistance) |
Private Attributes | |
double | minDistanceToPoint |
double | locationLength |
Computes the length along a LineString to the point on the line nearest a given point.
LengthToPoint | ( | LineString | line, |
Coordinate | inputPt | ||
) |
References LengthToPoint.computeLength().
Referenced by LengthToPoint.length().
|
private |
References LengthToPoint.updateLength().
Referenced by LengthToPoint.LengthToPoint().
double getLength | ( | ) |
References LengthToPoint.locationLength.
Referenced by LengthToPoint.length().
|
static |
Computes the length along a LineString to the point on the line nearest a given point.
References LengthToPoint.getLength(), and LengthToPoint.LengthToPoint().
|
static |
|
private |
Referenced by LengthToPoint.computeLength().
|
private |
Referenced by LengthToPoint.getLength().
|
private |