Function astro::planet::earth::approx_geodesic_dist
[−]
[src]
pub fn approx_geodesic_dist(p1: &GeographPoint, p2: &GeographPoint) -> f64
Computes a low accuracy geodesic distance between two points on the Earth's surface | in kilometers
Assumes that the Earth is a sphere.
Arguments
p1
:GeographPoint
1p2
:GeographPoint
2