- All Known Implementing Classes:
WayPoint
public interface Point
A geographic point with optional elevation and time.
- Since:
- 1.0
- Version:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault LengthCalculate the distance between points on the default ellipsoidal earth model WGS-84.The elevation (in meters) of the point.The latitude of the point, WGS84 datum.The longitude of the point, WGS84 datum.getTime()Creation/modification timestamp for the point.
-
Method Details
-
getLatitude
The latitude of the point, WGS84 datum.- Returns:
- the latitude of the point
-
getLongitude
The longitude of the point, WGS84 datum.- Returns:
- the longitude of the point
-
getElevation
The elevation (in meters) of the point.- Returns:
- the elevation (in meters) of the point
-
getTime
Creation/modification timestamp for the point.- Returns:
- creation/modification timestamp for the point
-
distance
Calculate the distance between points on the default ellipsoidal earth model WGS-84.- Parameters:
end- the end point- Returns:
- the distance between
thisandendin meters - Throws:
NullPointerException- if theendpoint isnull- See Also:
-