I want to know metric of the value returned by Coordinates.distance()
+1
A:
javax.microedition.location.Coordinates.distance:
public float distance(Coordinates to)
Calculates the geodetic distance between the two points according to the ellipsoid model of WGS84. Altitude is neglected from calculations. The implementation shall calculate this as exactly as it can. However, it is required that the result is within 0.35% of the correct result.
Parameters: to - the Coordinates of the destination
Returns: the distance to the destination in meters
Throws: NullPointerException - if the parameter is null
Since: JDE 4.0.2
Vivart
2010-05-05 12:15:15