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
Header for GeographicLib::GeodesicLine class.
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
Math::real LatitudeOrigin() const
Scalar * y
static const double lat
void Reverse(real x, real y, real &lat, real &lon) const
static const Geodesic & WGS84()
Cassini-Soldner projection.
Math::real MajorRadius() const
Definition: Geodesic.hpp:943
Header for GeographicLib::Geodesic class.
const double lat0
Math::real Longitude() const
Namespace for GeographicLib.
Math::real Latitude() const
Math::real Flattening() const
const double lon0
Math::real MajorRadius() const
Header for GeographicLib::Constants class.
static const double lon
Math::real Flattening() const
Definition: Geodesic.hpp:949
void Forward(real lat, real lon, real &x, real &y) const
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 LongitudeOrigin() const


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:41:46