public function IpGeoLocAPI::earthRadiusSemiminor in IP Geolocation Views & Maps 8
Get semiminor radius.
1 call to IpGeoLocAPI::earthRadiusSemiminor()
- IpGeoLocAPI::earthRadius in src/
Services/ IpGeoLocAPI.php - Get radius of the Earth at a given latitude.
File
- src/
Services/ IpGeoLocAPI.php, line 784
Class
- IpGeoLocAPI
- Class IpGeoAPI to interact with other modules.
Namespace
Drupal\ip_geoloc\ServicesCode
public function earthRadiusSemiminor() {
return ip_geoloc_earth_radius_semimajor() * (1.0 - ip_geoloc_earth_flattening());
}