Package net.sf.geographiclib
Class GeodesicData
- java.lang.Object
-
- net.sf.geographiclib.GeodesicData
-
public class GeodesicData extends Object
The results of geodesic calculations. This is used to return the results for a geodesic between point 1 (lat1, lon1) and point 2 (lat2, lon2). Fields that have not been set will be filled with Double.NaN. The returned GeodesicData objects always include the parameters provided toGeodesic.DirectandGeodesic.Inverseand it always includes the field a12.
-
-
Field Summary
Fields Modifier and Type Field Description doublea12arc length on the auxiliary sphere between point 1 and point 2 (degrees).doubleazi1azimuth at point 1 (degrees).doubleazi2azimuth at point 2 (degrees).doublelat1latitude of point 1 (degrees).doublelat2latitude of point 2 (degrees).doublelon1longitude of point 1 (degrees).doublelon2longitude of point 2 (degrees).doublem12reduced length of geodesic (meters).doubleM12geodesic scale of point 2 relative to point 1 (dimensionless).doubleM21geodesic scale of point 1 relative to point 2 (dimensionless).doubles12distance between point 1 and point 2 (meters).doubleS12area under the geodesic (meters2).
-
Constructor Summary
Constructors Constructor Description GeodesicData()Initialize all the fields to Double.NaN.
-
-
-
Field Detail
-
lat1
public double lat1
latitude of point 1 (degrees).
-
lon1
public double lon1
longitude of point 1 (degrees).
-
azi1
public double azi1
azimuth at point 1 (degrees).
-
lat2
public double lat2
latitude of point 2 (degrees).
-
lon2
public double lon2
longitude of point 2 (degrees).
-
azi2
public double azi2
azimuth at point 2 (degrees).
-
s12
public double s12
distance between point 1 and point 2 (meters).
-
a12
public double a12
arc length on the auxiliary sphere between point 1 and point 2 (degrees).
-
m12
public double m12
reduced length of geodesic (meters).
-
M12
public double M12
geodesic scale of point 2 relative to point 1 (dimensionless).
-
M21
public double M21
geodesic scale of point 1 relative to point 2 (dimensionless).
-
S12
public double S12
area under the geodesic (meters2).
-
-