26 #include <boost/algorithm/string.hpp> 35 static const double lat = 33.87071,
lon = -84.30482,
h = 274;
37 #if GEOGRAPHICLIB_VERSION_MINOR<37 38 static const auto&
kWGS84 = Geocentric::WGS84;
40 static const auto&
kWGS84 = Geocentric::WGS84();
54 double lat_, lon_, h_;
55 kWGS84.Reverse(X, Y, Z, lat_, lon_, h_);
73 auto actual = UTMUPS::EncodeZone(zone, northp);
74 boost::to_upper(actual);
84 const double lat0 = 33.86998,
lon0 = -84.30626,
h0 = 274;
101 double lat_, lon_, h_;
102 enu.
Reverse(E, N, U, lat_, lon_, h_);
Typedefs for easier changing of types.
static int runAllTests(TestResult &result)
Header for GeographicLib::LocalCartesian class.
Header for GeographicLib::UTMUPS class.
TEST(GeographicLib, Geocentric)
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
void Reverse(real x, real y, real z, real &lat, real &lon, real &h) const
static const auto & kWGS84
#define EXPECT(condition)
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Header for GeographicLib::Geocentric class.
Local cartesian coordinates.
void Forward(real lat, real lon, real h, real &x, real &y, real &z) 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