20 double lat = 40.3,
lon = -74.7;
23 cout << x <<
" " << y <<
"\n";
27 double x = 25e3,
y = 4461e3;
29 proj.
Reverse(lon0, x, y, lat, lon);
30 cout << lat <<
" " << lon <<
"\n";
33 catch (
const exception&
e) {
34 cerr <<
"Caught exception: " << e.what() <<
"\n";
An exact implementation of the transverse Mercator projection.
Header for GeographicLib::TransverseMercatorExact class.
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
void Reverse(real lon0, real x, real y, real &lat, real &lon, real &gamma, real &k) const
void Forward(real lon0, real lat, real lon, real &x, real &y, real &gamma, real &k) 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