You are here

function earth_eccentricity_sq in Location 7.3

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

Earth ccentricity sq.

1 call to earth_eccentricity_sq()
earth_xyz in ./earth.inc
Earth xyz.

File

./earth.inc, line 57
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_eccentricity_sq() {
  return 2 * earth_flattening() - pow(earth_flattening(), 2);
}