You are here

function earth_radius_semimajor in Location 7.3

Same name and namespace in other branches
  1. 5.3 earth.inc \earth_radius_semimajor()
  2. 5 earth.inc \earth_radius_semimajor()
  3. 6.3 earth.inc \earth_radius_semimajor()
  4. 7.5 earth.inc \earth_radius_semimajor()
  5. 7.4 earth.inc \earth_radius_semimajor()

Earth redius semimajor.

3 calls to earth_radius_semimajor()
earth_radius in ./earth.inc
Earth redius.
earth_radius_semiminor in ./earth.inc
Earth radius semiminor.
earth_xyz in ./earth.inc
Earth xyz.

File

./earth.inc, line 36
Trigonometry for calculating geographical distances. All function arguments and return values measure distances in metres and angles in degrees. The ellipsoid model is from the WGS-84 datum. Ka-Ping Yee, 2003-08-11

Code

function earth_radius_semimajor() {
  return 6378137.0;
}