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