
public class SphericalVincentyEarthModel extends AbstractEarthModel
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SphericalVincentyEarthModel.Parameterizer
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static double | 
EARTH_RADIUS
Earth radius approximation in m. 
 | 
static SphericalVincentyEarthModel | 
STATIC
Spherical earth model, static instance. 
 | 
a, b, e, esq, f, invfMODEL_ID| Modifier | Constructor and Description | 
|---|---|
protected  | 
SphericalVincentyEarthModel()
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
distanceRad(double lat1,
           double lng1,
           double lat2,
           double lng2)
Compute the geodetic distance between two surface coordinates. 
 | 
double | 
ecefToLatRad(double x,
            double y,
            double z)
Convert a 3D coordinate pair to the corresponding latitude. 
 | 
double[] | 
latLngRadToECEF(double lat,
               double lng)
Map a radians latitude, longitude pair to 3D X-Y-Z coordinates, using a
 spherical earth model. 
 | 
double[] | 
latLngRadToECEF(double lat,
               double lng,
               double h)
Map a radians latitude, longitude pair to 3D X-Y-Z coordinates, using a
 spherical earth model. 
 | 
distanceDeg, ecefToLatDeg, ecefToLatLngDegHeight, ecefToLatLngRadHeight, ecefToLngDeg, ecefToLngRad, getEquatorialRadius, getPolarDistance, latLngDegToECEF, latLngDegToECEF, minDistDeg, minDistRad, toStringpublic static final SphericalVincentyEarthModel STATIC
public static final double EARTH_RADIUS
public double[] latLngRadToECEF(double lat,
                       double lng)
EarthModellatLngRadToECEF in interface EarthModellatLngRadToECEF in class AbstractEarthModellat - Latitude in radianslng - Longitude in radianspublic double[] latLngRadToECEF(double lat,
                       double lng,
                       double h)
EarthModellatLngRadToECEF in interface EarthModellatLngRadToECEF in class AbstractEarthModellat - Latitude in radianslng - Longitude in radiansh - Heightpublic double ecefToLatRad(double x,
                  double y,
                  double z)
EarthModelecefToLatRad in interface EarthModelecefToLatRad in class AbstractEarthModelx - X valuey - Y valuez - Z valuepublic double distanceRad(double lat1,
                 double lng1,
                 double lat2,
                 double lng2)
EarthModeldistanceRad in interface EarthModeldistanceRad in class AbstractEarthModellat1 - Latitude of first in radians.lng1 - Longitude of first in radians.lat2 - Latitude of second in radians.lng2 - Longitude of second in radians.