Creates a geodesy instance for the given reference that performs distance, angle and interpolation calculations by interpreting coordinates as coordinates in a Cartesian coordinate system.
the reference
a geodesy instance
Creates a geodesy instance for the given reference that performs geodesy calculations using the ellipsoid associated with the given reference.
the reference
a geodesy instance
Creates a geodesy instance for the given reference that performs geodesy calculations using spherical approximations of the ellipsoid associated with the given reference. The results of the calculations performed by this type of geodesy instance are less accurate than the ellipsoidal variants, but can be computed faster.
If earthRadius is specified instances returned by this method will use the given radius when performing spherical calculations. Otherwise an appropriate value for the earth radius will be chosen automatically based on the ellipsoid associated with the given reference.the reference
the radius of the sphere in meters
a geodesy instance
A factory for Geodesy instances.