34 static const double lat = 33.87071,
lon = -84.30482,
h = 274;
36 #if GEOGRAPHICLIB_VERSION_MINOR<37 37 static const auto&
kWGS84 = Geocentric::WGS84;
39 static const auto&
kWGS84 = Geocentric::WGS84();
53 double lat_, lon_, h_;
54 kWGS84.Reverse(X, Y, Z, lat_, lon_, h_);
72 auto actual = UTMUPS::EncodeZone(zone, northp);
74 std::transform(actual.begin(), actual.end(), actual.begin(), ::toupper);
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)
static const auto & kWGS84
#define EXPECT(condition)
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
EIGEN_DONT_INLINE void transform(const Transformation &t, Data &data)
Header for GeographicLib::Geocentric class.
Local cartesian coordinates.
void Forward(real lat, real lon, real h, real &x, real &y, real &z) const
void Reverse(real x, real y, real z, real &lat, real &lon, real &h) 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