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 
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 
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
Eigen::Forward
@ Forward
Definition: NumericalDiff.h:19
GeographicLib::Geodesic::Flattening
Math::real Flattening() const
Definition: Geodesic.hpp:949
GeographicLib::CassiniSoldner::MajorRadius
Math::real MajorRadius() const
Definition: CassiniSoldner.hpp:191
GeographicLib
Namespace for GeographicLib.
Definition: JacobiConformal.hpp:15
GeographicLib::GeodesicLine
A geodesic line.
Definition: GeodesicLine.hpp:71
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::CassiniSoldner::real
Math::real real
Definition: CassiniSoldner.hpp:71
GEOGRAPHICLIB_EXPORT
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
GeographicLib::CassiniSoldner::_sbet0
real _sbet0
Definition: CassiniSoldner.hpp:74
GeographicLib::CassiniSoldner::Init
bool Init() const
Definition: CassiniSoldner.hpp:173
GeographicLib::Math::real
double real
Definition: Math.hpp:129
GeographicLib::CassiniSoldner::_earth
Geodesic _earth
Definition: CassiniSoldner.hpp:72
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.
GeographicLib::CassiniSoldner::_meridian
GeodesicLine _meridian
Definition: CassiniSoldner.hpp:73
GeographicLib::CassiniSoldner::LongitudeOrigin
Math::real LongitudeOrigin() const
Definition: CassiniSoldner.hpp:184
GeographicLib::CassiniSoldner::Reverse
void Reverse(real x, real y, real &lat, real &lon) const
Definition: CassiniSoldner.hpp:161
Constants.hpp
Header for GeographicLib::Constants class.
y
Scalar * y
Definition: level1_cplx_impl.h:124
GeographicLib::GeodesicLine::Latitude
Math::real Latitude() const
Definition: GeodesicLine.hpp:594
GeographicLib::CassiniSoldner::Forward
void Forward(real lat, real lon, real &x, real &y) const
Definition: CassiniSoldner.hpp:152
GeographicLib::CassiniSoldner::LatitudeOrigin
Math::real LatitudeOrigin() const
Definition: CassiniSoldner.hpp:178
GeographicLib::GeodesicLine::Init
bool Init() const
Definition: GeodesicLine.hpp:589
lon
static const double lon
Definition: testGeographicLib.cpp:34
GeographicLib::Geodesic::MajorRadius
Math::real MajorRadius() const
Definition: Geodesic.hpp:943
GeographicLib::CassiniSoldner::Flattening
Math::real Flattening() const
Definition: CassiniSoldner.hpp:197
real
Definition: main.h:100
GeographicLib::Geodesic
Geodesic calculations
Definition: Geodesic.hpp:172
GeographicLib::CassiniSoldner
Cassini-Soldner projection.
Definition: CassiniSoldner.hpp:69
Geodesic.hpp
Header for GeographicLib::Geodesic class.
GeographicLib::GeodesicLine::Longitude
Math::real Longitude() const
Definition: GeodesicLine.hpp:600
lat
static const double lat
Definition: testGeographicLib.cpp:34


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:14