Gnomonic.hpp
Go to the documentation of this file.
1 
10 #if !defined(GEOGRAPHICLIB_GNOMONIC_HPP)
11 #define GEOGRAPHICLIB_GNOMONIC_HPP 1
12 
16 
17 namespace GeographicLib {
18 
103  private:
104  typedef Math::real real;
105  real eps0_, eps_;
107  real _a, _f;
108  static const int numit_ = 10;
109  public:
110 
117  explicit Gnomonic(const Geodesic& earth = Geodesic::WGS84());
118 
141  real& x, real& y, real& azi, real& rk) const;
142 
166  void Reverse(real lat0, real lon0, real x, real y,
167  real& lat, real& lon, real& azi, real& rk) const;
168 
173  real& x, real& y) const {
174  real azi, rk;
175  Forward(lat0, lon0, lat, lon, x, y, azi, rk);
176  }
177 
182  real& lat, real& lon) const {
183  real azi, rk;
184  Reverse(lat0, lon0, x, y, lat, lon, azi, rk);
185  }
186 
189 
194  Math::real MajorRadius() const { return _earth.MajorRadius(); }
195 
200  Math::real Flattening() const { return _earth.Flattening(); }
202 
203  };
204 
205 } // namespace GeographicLib
206 
207 #endif // GEOGRAPHICLIB_GNOMONIC_HPP
Eigen::Forward
@ Forward
Definition: NumericalDiff.h:19
GeographicLib::Geodesic::Flattening
Math::real Flattening() const
Definition: Geodesic.hpp:949
GeographicLib
Namespace for GeographicLib.
Definition: JacobiConformal.hpp:15
GeographicLib::Geodesic::WGS84
static const Geodesic & WGS84()
Definition: src/Geodesic.cpp:89
x
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
Definition: gnuplot_common_settings.hh:12
GeographicLib::Gnomonic::eps_
real eps_
Definition: Gnomonic.hpp:105
GEOGRAPHICLIB_EXPORT
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
GeographicLib::Gnomonic::_earth
Geodesic _earth
Definition: Gnomonic.hpp:106
GeographicLib::Gnomonic::Flattening
Math::real Flattening() const
Definition: Gnomonic.hpp:200
GeographicLib::Gnomonic::_f
real _f
Definition: Gnomonic.hpp:107
GeographicLib::Gnomonic
Gnomonic projection
Definition: Gnomonic.hpp:102
GeographicLib::Math::real
double real
Definition: Math.hpp:129
GeographicLib::Gnomonic::Forward
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y) const
Definition: Gnomonic.hpp:172
example::lat0
const double lat0
Definition: testGPSFactor.cpp:41
example::lon0
const double lon0
Definition: testGPSFactor.cpp:41
GeodesicLine.hpp
Header for GeographicLib::GeodesicLine class.
Constants.hpp
Header for GeographicLib::Constants class.
y
Scalar * y
Definition: level1_cplx_impl.h:124
lon
static const double lon
Definition: testGeographicLib.cpp:34
GeographicLib::Gnomonic::real
Math::real real
Definition: Gnomonic.hpp:104
GeographicLib::Geodesic::MajorRadius
Math::real MajorRadius() const
Definition: Geodesic.hpp:943
GeographicLib::Gnomonic::MajorRadius
Math::real MajorRadius() const
Definition: Gnomonic.hpp:194
GeographicLib::Gnomonic::Reverse
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon) const
Definition: Gnomonic.hpp:181
real
Definition: main.h:100
GeographicLib::Geodesic
Geodesic calculations
Definition: Geodesic.hpp:172
Geodesic.hpp
Header for GeographicLib::Geodesic class.
lat
static const double lat
Definition: testGeographicLib.cpp:34


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:00:57