17 : eps_(real(0.01) * sqrt(numeric_limits<real>::min()))
22 real& azi, real& rk)
const {
24 sig = _earth.
Inverse(lat0, lon0, lat, lon, s, azi0, azi, m);
27 rk = !(sig <= eps_) ? m / s : 1;
32 real& azi, real& rk)
const {
37 sig = _earth.
Direct(lat0, lon0, azi0, s, lat, lon, azi, m);
38 rk = !(sig <= eps_) ? m / s : 1;
Header for GeographicLib::AzimuthalEquidistant class.
AzimuthalEquidistant(const Geodesic &earth=Geodesic::WGS84())
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y, real &azi, real &rk) const
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon, real &azi, real &rk) const
Math::real Direct(real lat1, real lon1, real azi1, real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
Math::real Inverse(real lat1, real lon1, real lat2, real lon2, real &s12, real &azi1, real &azi2, real &m12, real &M12, real &M21, real &S12) const
static void sincosd(T x, T &sinx, T &cosx)
static T atan2d(T y, T x)
Namespace for GeographicLib.