13 Geodesic geod(Constants::WGS84_a(), Constants::WGS84_f());
15 const double lat0 = 48 + 50/60.0,
lon0 = 2 + 20/60.0;
19 double lat = 50.9,
lon = 1.8;
22 cout << x <<
" " << y <<
"\n";
26 double x = -38e3,
y = 230e3;
29 cout << lat <<
" " << lon <<
"\n";
32 catch (
const exception&
e) {
33 cerr <<
"Caught exception: " << e.what() <<
"\n";
Header for GeographicLib::Gnomonic class.
Header for GeographicLib::Geodesic class.
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y, real &azi, real &rk) const
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon, real &azi, real &rk) 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