Coordinate
Constructors
Properties
Returns the estimated horizontal accuracy radius in meters of this location at the 68th percentile confidence level. This means that there is a 68% chance that the true location of the device is within a distance of this uncertainty of the reported location. Another way of putting this is that if a circle with a radius equal to this accuracy is drawn around the reported location, there is a 68% chance that the true location falls within this circle. This accuracy value is only valid for horizontal positioning, and not vertical positioning.
Height from the floor of the defined level. Must be null outdoor.
Height from the ground of the defined level. Must be null outdoor.
Get the latitude in radians.
Get the longitude in radians.
Functions
Returns the approximate initial bearing in degrees east of true north when traveling along the shortest path between this coordinate and the given coordinate. The shortest path is defined using the WGS84 ellipsoid. Coordinates that are (nearly) antipodal may produce meaningless results.
Calculates the distance (measured in meters) from the current object’s coordinate to the specified coordinate. This uses the Haversine formula to account for global curvature.
Calculates the distance (measured in meters) from the current object’s coordinate to the specified coordinate taking altitude into account. This uses the Haversine formula to account for global curvature.
Calculates the distance (measured in meters) from the current object’s coordinate to the specified coordinate. This uses the Haversine formula to account for global curvature.
Adapted to cartesian coordinates using Spherical model