AzimuthalEquidistant.hpp
Go to the documentation of this file.
1 
10 #if !defined(GEOGRAPHICLIB_AZIMUTHALEQUIDISTANT_HPP)
11 #define GEOGRAPHICLIB_AZIMUTHALEQUIDISTANT_HPP 1
12 
15 
16 namespace GeographicLib {
17 
43  private:
44  typedef Math::real real;
45  real eps_;
47  public:
48 
55  explicit AzimuthalEquidistant(const Geodesic& earth = Geodesic::WGS84());
56 
75  void Forward(real lat0, real lon0, real lat, real lon,
76  real& x, real& y, real& azi, real& rk) const;
77 
98  void Reverse(real lat0, real lon0, real x, real y,
99  real& lat, real& lon, real& azi, real& rk) const;
100 
104  void Forward(real lat0, real lon0, real lat, real lon,
105  real& x, real& y) const {
106  real azi, rk;
107  Forward(lat0, lon0, lat, lon, x, y, azi, rk);
108  }
109 
113  void Reverse(real lat0, real lon0, real x, real y,
114  real& lat, real& lon) const {
115  real azi, rk;
116  Reverse(lat0, lon0, x, y, lat, lon, azi, rk);
117  }
118 
121 
126  Math::real MajorRadius() const { return _earth.MajorRadius(); }
127 
132  Math::real Flattening() const { return _earth.Flattening(); }
134 
135  };
136 
137 } // namespace GeographicLib
138 
139 #endif // GEOGRAPHICLIB_AZIMUTHALEQUIDISTANT_HPP
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y) const
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
Math::real MajorRadius() const
Definition: Geodesic.hpp:943
Scalar * y
static const double lat
static const Geodesic & WGS84()
Header for GeographicLib::Geodesic class.
const double lat0
Azimuthal equidistant projection.
Namespace for GeographicLib.
const double lon0
Math::real Flattening() const
Definition: Geodesic.hpp:949
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon) const
Header for GeographicLib::Constants class.
static const double lon
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
Geodesic calculations
Definition: Geodesic.hpp:172


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:33:56