8 package net.sf.geographiclib;
137 private double _a, _f;
176 _earth.
Inverse(lat0, lon0, lat, lon,
180 new GnomonicData(lat0, lon0, lat, lon, Double.NaN, Double.NaN,
184 double rho = inv.
m12 / inv.
M12;
219 new GnomonicData(lat0, lon0, Double.NaN, Double.NaN, x, y, Double.NaN,
223 double rho = Math.hypot(x, y);
224 double s = _a * Math.atan(rho / _a);
225 boolean little = rho <=
_a;
236 int count =
numit_, trip = 0;
239 while (count-- > 0) {
250 little ? ((pos.
m12 / pos.
M12) - rho) * pos.
M12 * pos.
M12 254 if (Math.abs(ds) <= eps_ *
_a)
GeodesicData Position(double s12)
static final int REDUCEDLENGTH
static final int LONGITUDE
static double atan2d(double y, double x)
GeodesicData Inverse(double lat1, double lon1, double lat2, double lon2)
GeodesicLine Line(double lat1, double lon1, double azi1)
static Pair sincosd(double x)
static final int LATITUDE
static final int DISTANCE_IN
static final int GEODESICSCALE
static final double epsilon
GnomonicData Reverse(double lat0, double lon0, double x, double y)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
GnomonicData Forward(double lat0, double lon0, double lat, double lon)