12 // Hard numbers from the WGS84 standard.
13 static const double EQURAD;
14 static const double iFLATTENING;
15 static const double SQUASH;
16 static const double STRETCH;
17 static const double POLRAD;
19 /// Takes a cartesian coordinate data and returns the geodetic
21 static void SGCartToGeod(const SGVec3<double>& cart, SGGeod& geod);
23 /// Takes a geodetic coordinate data and returns the cartesian
25 static void SGGeodToCart(const SGGeod& geod, SGVec3<double>& cart);
27 /// Takes a geodetic coordinate data and returns the sea level radius.
28 static double SGGeodToSeaLevelRadius(const SGGeod& geod);
30 /// Takes a cartesian coordinate data and returns the geocentric
32 static void SGCartToGeoc(const SGVec3<double>& cart, SGGeoc& geoc);
34 /// Takes a geocentric coordinate data and returns the cartesian
36 static void SGGeocToCart(const SGGeoc& geoc, SGVec3<double>& cart);