function earth_eccentricity_sq in Location 7.3
Same name and namespace in other branches
- 5.3 earth.inc \earth_eccentricity_sq()
- 5 earth.inc \earth_eccentricity_sq()
- 6.3 earth.inc \earth_eccentricity_sq()
- 7.5 earth.inc \earth_eccentricity_sq()
- 7.4 earth.inc \earth_eccentricity_sq()
Earth ccentricity sq.
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);
}