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
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
Scalar * y
static const double lat
static const Geodesic & WGS84()
Math::real MajorRadius() const
Definition: Geodesic.hpp:943
Header for GeographicLib::Geodesic class.
const double lat0
Azimuthal equidistant projection.
Namespace for GeographicLib.
const double lon0
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y) const
Header for GeographicLib::Constants class.
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon) const
static const double lon
Math::real Flattening() const
Definition: Geodesic.hpp:949
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 Sat May 8 2021 02:41:40