You are here

function ip_geoloc_earth_radius_semimajor in IP Geolocation Views & Maps 7

Same name and namespace in other branches
  1. 8 ip_geoloc_api.inc \ip_geoloc_earth_radius_semimajor()

Get semimajor radius.

2 calls to ip_geoloc_earth_radius_semimajor()
ip_geoloc_earth_radius in ./ip_geoloc_api.inc
Get radius of the Earth at a given latitude.
ip_geoloc_earth_radius_semiminor in ./ip_geoloc_api.inc
Get semiminor radius.

File

./ip_geoloc_api.inc, line 764
API functions of IP geolocation module

Code

function ip_geoloc_earth_radius_semimajor() {
  return 6378137.0;
}