00001 #include "polar3d.hxx" 00002 #include "point3d.hxx" 00003 #include <iostream> 00004 using std::cout; 00005 using std::endl; 00006 00007 00008 main() { 00009 Point3D orig(-2.122692409460596, 0.619900934443568, 0.0); 00010 Point3D result = calc_gc_lon_lat( orig, 1.373653292655945, 926 ); 00011 cout << "lon = " << result.x() << " lat = " << result.y() << endl; 00012 }