*/
public static CoordinatePoint projectPointToSegmentAppropximate(
CoordinatePoint point, CoordinatePoint segmentStart,
CoordinatePoint segmentEnd) {
XYPoint pPoint = new XYPoint(point.getLon(), point.getLat());
XYPoint pSegmentStart = new XYPoint(segmentStart.getLon(),
segmentStart.getLat());
XYPoint pSegmentEnd = new XYPoint(segmentEnd.getLon(), segmentEnd.getLat());
XYPoint pResult = GeometryLibrary.projectPointToSegment(pPoint,
pSegmentStart, pSegmentEnd);
return new CoordinatePoint(pResult.getY(), pResult.getX());
}