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;
41  public:
42 
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
Eigen::Forward
@ Forward
Definition: NumericalDiff.h:19
GeographicLib::PolarStereographic::real
Math::real real
Definition: PolarStereographic.hpp:38
GeographicLib
Namespace for GeographicLib.
Definition: JacobiConformal.hpp:15
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::PolarStereographic::MajorRadius
Math::real MajorRadius() const
Definition: PolarStereographic.hpp:128
real
float real
Definition: datatypes.h:10
GEOGRAPHICLIB_EXPORT
#define GEOGRAPHICLIB_EXPORT
Definition: Constants.hpp:91
k0
double k0(double x)
Definition: k0.c:131
GeographicLib::Math::real
double real
Definition: Math.hpp:129
GeographicLib::PolarStereographic::CentralScale
Math::real CentralScale() const
Definition: PolarStereographic.hpp:141
GeographicLib::PolarStereographic::Reverse
void Reverse(bool northp, real x, real y, real &lat, real &lon) const
Definition: PolarStereographic.hpp:115
gamma
#define gamma
Definition: mconf.h:85
GeographicLib::PolarStereographic::_k0
real _k0
Definition: PolarStereographic.hpp:40
Constants.hpp
Header for GeographicLib::Constants class.
GeographicLib::PolarStereographic::Forward
void Forward(bool northp, real lat, real lon, real &x, real &y) const
Definition: PolarStereographic.hpp:106
y
Scalar * y
Definition: level1_cplx_impl.h:124
tree::f
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Definition: testExpression.cpp:218
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
GeographicLib::PolarStereographic
Polar stereographic projection.
Definition: PolarStereographic.hpp:36
GeographicLib::PolarStereographic::_f
real _f
Definition: PolarStereographic.hpp:39
lon
static const double lon
Definition: testGeographicLib.cpp:34
GeographicLib::PolarStereographic::Flattening
Math::real Flattening() const
Definition: PolarStereographic.hpp:134
real
Definition: main.h:100
lat
static const double lat
Definition: testGeographicLib.cpp:34


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:35