PolarStereographic.hpp
Go to the documentation of this file.
1 
10 #if !defined(GEOGRAPHICLIB_POLARSTEREOGRAPHIC_HPP)
11 #define GEOGRAPHICLIB_POLARSTEREOGRAPHIC_HPP 1
12 
14 
15 namespace GeographicLib {
16 
37  private:
38  typedef Math::real real;
39  real _a, _f, _e2, _es, _e2m, _c;
40  real _k0;
41  public:
42 
53  PolarStereographic(real a, real f, real k0);
54 
64  void SetScale(real lat, real k = real(1));
65 
82  void Forward(bool northp, real lat, real lon,
83  real& x, real& y, real& gamma, real& k) const;
84 
100  void Reverse(bool northp, real x, real y,
101  real& lat, real& lon, real& gamma, real& k) const;
102 
106  void Forward(bool northp, real lat, real lon,
107  real& x, real& y) const {
108  real gamma, k;
109  Forward(northp, lat, lon, x, y, gamma, k);
110  }
111 
115  void Reverse(bool northp, real x, real y,
116  real& lat, real& lon) const {
117  real gamma, k;
118  Reverse(northp, x, y, lat, lon, gamma, k);
119  }
120 
123 
128  Math::real MajorRadius() const { return _a; }
129 
134  Math::real Flattening() const { return _f; }
135 
141  Math::real CentralScale() const { return _k0; }
143 
149  static const PolarStereographic& UPS();
150  };
151 
152 } // namespace GeographicLib
153 
154 #endif // GEOGRAPHICLIB_POLARSTEREOGRAPHIC_HPP
void Reverse(bool northp, real x, real y, real &lat, real &lon) const
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
float real
Definition: datatypes.h:10
Scalar * y
static const double lat
Array33i a
const mpreal gamma(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
Definition: mpreal.h:2262
void Forward(bool northp, real lat, real lon, real &x, real &y) const
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Namespace for GeographicLib.
Polar stereographic projection.
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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:27