You are here

function ip_geoloc_earth_radius_semiminor in IP Geolocation Views & Maps 8

Same name and namespace in other branches
  1. 7 ip_geoloc_api.inc \ip_geoloc_earth_radius_semiminor()

Get semiminor radius.

1 call to ip_geoloc_earth_radius_semiminor()
ip_geoloc_earth_radius in ./ip_geoloc_api.inc
Get radius of the Earth at a given latitude.

File

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

Code

function ip_geoloc_earth_radius_semiminor() {
  return ip_geoloc_earth_radius_semimajor() * (1.0 - ip_geoloc_earth_flattening());
}