10#if !defined(GEOGRAPHICLIB_TRANSVERSEMERCATOR_HPP)
11#define GEOGRAPHICLIB_TRANSVERSEMERCATOR_HPP 1
15#if !defined(GEOGRAPHICLIB_TRANSVERSEMERCATOR_ORDER)
20# define GEOGRAPHICLIB_TRANSVERSEMERCATOR_ORDER \
21 (GEOGRAPHICLIB_PRECISION == 2 ? 6 : \
22 (GEOGRAPHICLIB_PRECISION == 1 ? 4 : 8))
97 static const int numit_ = 5;
98 real _a, _f, _k0, _e2, _es, _e2m, _c, _n;
100 real _a1, _b1, _alp[maxpow_ + 1], _bet[maxpow_ + 1];
130 void Forward(real lon0, real lat, real lon,
131 real& x, real& y, real& gamma, real& k)
const;
147 void Reverse(real lon0, real x, real y,
148 real& lat, real& lon, real& gamma, real& k)
const;
154 real& x, real& y)
const {
156 Forward(lon0, lat, lon, x, y, gamma, k);
163 real& lat, real& lon)
const {
165 Reverse(lon0, x, y, lat, lon, gamma, k);
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
#define GEOGRAPHICLIB_TRANSVERSEMERCATOR_ORDER
Properties of an ellipsoid.
Transverse Mercator projection.
Math::real Flattening() const
void Reverse(real lon0, real x, real y, real &lat, real &lon) const
Math::real CentralScale() const
void Forward(real lon0, real lat, real lon, real &x, real &y) const
Math::real EquatorialRadius() const
Namespace for GeographicLib.