Package net.sf.geographiclib
Class GnomonicData
- java.lang.Object
-
- net.sf.geographiclib.GnomonicData
-
public class GnomonicData extends Object
The results of gnomonic projection.This is used to return the results for a gnomonic projection of a point (lat, lon) given a center point of projection (lat0, lon0). The returned GnomonicData objects always include the parameters provided to
Gnomonic.ForwardandGnomonic.Reverseand it always includes the fields x, y, azi. and rk.
-
-
Field Summary
Fields Modifier and Type Field Description doubleaziazimuth of geodesic at point (degrees).doublelatlatitude of point (degrees).doublelat0latitude of center point of projection (degrees).doublelonlongitude of point (degrees).doublelon0longitude of center point of projection (degrees).doublerkreciprocal of azimuthal scale at point.doublexeasting of point (meters).doubleynorthing of point (meters).
-
Constructor Summary
Constructors Constructor Description GnomonicData()Initialize all the fields to Double.NaN.GnomonicData(double lat0, double lon0, double lat, double lon, double x, double y, double azi, double rk)Constructor initializing all the fields for gnomonic projection of a point (lat, lon) given a center point of projection (lat0, lon0).
-
-
-
Field Detail
-
lat0
public double lat0
latitude of center point of projection (degrees).
-
lon0
public double lon0
longitude of center point of projection (degrees).
-
lat
public double lat
latitude of point (degrees).
-
lon
public double lon
longitude of point (degrees).
-
x
public double x
easting of point (meters).
-
y
public double y
northing of point (meters).
-
azi
public double azi
azimuth of geodesic at point (degrees).
-
rk
public double rk
reciprocal of azimuthal scale at point.
-
-
Constructor Detail
-
GnomonicData
public GnomonicData()
Initialize all the fields to Double.NaN.
-
GnomonicData
public GnomonicData(double lat0, double lon0, double lat, double lon, double x, double y, double azi, double rk)Constructor initializing all the fields for gnomonic projection of a point (lat, lon) given a center point of projection (lat0, lon0).- Parameters:
lat0- latitude of center point of projection (degrees).lon0- longitude of center point of projection (degrees).lat- latitude of point (degrees).lon- longitude of point (degrees).x- easting of point (meters).y- northing of point (meters).azi- azimuth of geodesic at point (degrees).rk- reciprocal of azimuthal scale at point.
-
-