CassiniSoldner.hpp
Go to the documentation of this file.
1 
10 #if !defined(GEOGRAPHICLIB_CASSINISOLDNER_HPP)
11 #define GEOGRAPHICLIB_CASSINISOLDNER_HPP 1
12 
16 
17 namespace GeographicLib {
18 
70  private:
71  typedef Math::real real;
74  real _sbet0, _cbet0;
75  static const unsigned maxit_ = 10;
76 
77  public:
78 
88  explicit CassiniSoldner(const Geodesic& earth = Geodesic::WGS84());
89 
100  CassiniSoldner(real lat0, real lon0,
101  const Geodesic& earth = Geodesic::WGS84());
102 
111  void Reset(real lat0, real lon0);
112 
128  void Forward(real lat, real lon,
129  real& x, real& y, real& azi, real& rk) const;
130 
146  void Reverse(real x, real y,
147  real& lat, real& lon, real& azi, real& rk) const;
148 
152  void Forward(real lat, real lon,
153  real& x, real& y) const {
154  real azi, rk;
155  Forward(lat, lon, x, y, azi, rk);
156  }
157 
161  void Reverse(real x, real y,
162  real& lat, real& lon) const {
163  real azi, rk;
164  Reverse(x, y, lat, lon, azi, rk);
165  }
166 
169 
173  bool Init() const { return _meridian.Init(); }
174 
179  { return _meridian.Latitude(); }
180 
185  { return _meridian.Longitude(); }
186 
191  Math::real MajorRadius() const { return _earth.MajorRadius(); }
192 
197  Math::real Flattening() const { return _earth.Flattening(); }
199 
200  };
201 
202 } // namespace GeographicLib
203 
204 #endif // GEOGRAPHICLIB_CASSINISOLDNER_HPP
Math::real LongitudeOrigin() const
Header for GeographicLib::GeodesicLine class.
#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()
Cassini-Soldner projection.
Header for GeographicLib::Geodesic class.
const double lat0
Math::real LatitudeOrigin() const
Namespace for GeographicLib.
const double lon0
void Reverse(real x, real y, real &lat, real &lon) const
Math::real Flattening() const
Definition: Geodesic.hpp:949
Math::real Latitude() const
Header for GeographicLib::Constants class.
void Forward(real lat, real lon, real &x, real &y) const
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
Math::real Longitude() const


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:00