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];
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);
200 #endif // GEOGRAPHICLIB_TRANSVERSEMERCATOR_HPP
Math::real CentralScale() const
#define GEOGRAPHICLIB_EXPORT
Transverse Mercator projection.
void Forward(real lon0, real lat, real lon, real &x, real &y) const
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Namespace for GeographicLib.
#define GEOGRAPHICLIB_TRANSVERSEMERCATOR_ORDER
Properties of an ellipsoid.
Header for GeographicLib::Constants class.
Math::real MajorRadius() 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
void Reverse(real lon0, real x, real y, real &lat, real &lon) const
Math::real Flattening() const