Package net.sf.geographiclib
Class GeodesicData
java.lang.Object
net.sf.geographiclib.GeodesicData
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 to
Geodesic.Direct
and Geodesic.Inverse
and it
always includes the field a12.-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
arc length on the auxiliary sphere between point 1 and point 2 (degrees).double
azimuth at point 1 (degrees).double
azimuth at point 2 (degrees).double
latitude of point 1 (degrees).double
latitude of point 2 (degrees).double
longitude of point 1 (degrees).double
longitude of point 2 (degrees).double
reduced length of geodesic (meters).double
geodesic scale of point 2 relative to point 1 (dimensionless).double
geodesic scale of point 1 relative to point 2 (dimensionless).double
distance between point 1 and point 2 (meters).double
area under the geodesic (meters2). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lat1
public double lat1latitude of point 1 (degrees). -
lon1
public double lon1longitude of point 1 (degrees). -
azi1
public double azi1azimuth at point 1 (degrees). -
lat2
public double lat2latitude of point 2 (degrees). -
lon2
public double lon2longitude of point 2 (degrees). -
azi2
public double azi2azimuth at point 2 (degrees). -
s12
public double s12distance between point 1 and point 2 (meters). -
a12
public double a12arc length on the auxiliary sphere between point 1 and point 2 (degrees). -
m12
public double m12reduced length of geodesic (meters). -
M12
public double M12geodesic scale of point 2 relative to point 1 (dimensionless). -
M21
public double M21geodesic scale of point 1 relative to point 2 (dimensionless). -
S12
public double S12area under the geodesic (meters2).
-
-
Constructor Details
-
GeodesicData
public GeodesicData()Initialize all the fields to Double.NaN.
-