10 #if !defined(GEOGRAPHICLIB_GNOMONIC_HPP)
11 #define GEOGRAPHICLIB_GNOMONIC_HPP 1
17 namespace GeographicLib {
106 static const real eps0_;
107 static const real eps_;
108 static const int numit_ = 10;
120 , _a(_earth.MajorRadius())
121 , _f(_earth.Flattening())
179 void Forward(real lat0, real lon0, real lat, real lon,
180 real& x, real& y)
const throw() {
182 Forward(lat0, lon0, lat, lon, x, y, azi, rk);
188 void Reverse(real lat0, real lon0, real x, real y,
189 real& lat, real& lon)
const throw() {
191 Reverse(lat0, lon0, x, y, lat, lon, azi, rk);
216 {
return _earth.InverseFlattening(); }
222 #endif // GEOGRAPHICLIB_GNOMONIC_HPP
Header for GeographicLib::GeodesicLine class.
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon) const
Header for GeographicLib::Geodesic class.
Gnomonic(const Geodesic &earth=Geodesic::WGS84)
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y) const
Math::real Flattening() const
static const Geodesic WGS84
Header for GeographicLib::Constants class.
Math::real MajorRadius() const