Obviously the earth is not really a sphere, the radius given here is an approximation such that spherical geometry calculations return close to accurate results

et_get_earth_radius()

et_set_earth_radius(radius)

Arguments

radius

Numeric scalar. The radius of the earth (or any other sphere you care about) in nautical miles.

Value

numeric, Earth's radius in nautical miles