1297 #ifndef PROJ_GEODESIC
1300 const double epsilon = 1e-8;
1312 #ifndef PROJ_GEODESIC
1315 CU_ASSERT_DOUBLE_EQUAL(d, 110574.3885577987957342, epsilon);
1322 #ifndef PROJ_GEODESIC
1325 CU_ASSERT_DOUBLE_EQUAL(d, 1113194.9079327357264771, epsilon);
1332 #ifndef PROJ_GEODESIC
1335 CU_ASSERT_DOUBLE_EQUAL(d, 111319.4907932735726477, epsilon);
1342 #ifndef PROJ_GEODESIC
1345 CU_ASSERT_DOUBLE_EQUAL(d, 19893357.0700676468277450, epsilon);
1352 #ifndef PROJ_GEODESIC
1355 CU_ASSERT_DOUBLE_EQUAL(d, 10001965.7293127228117396, epsilon);
static void point_set(double lon, double lat, GEOGRAPHIC_POINT *p)
void spheroid_init(SPHEROID *s, double a, double b)
Initialize a spheroid object for use in geodetic functions.
double spheroid_distance(const GEOGRAPHIC_POINT *a, const GEOGRAPHIC_POINT *b, const SPHEROID *spheroid)
Computes the shortest distance along the surface of the spheroid between two points,...
Point in spherical coordinates on the world.