Function calculate_haversine_distance

Source
pub fn calculate_haversine_distance(
    point_a: Point2<f64>,
    point_b: Point2<f64>,
    sphere_radius: f64,
) -> f64
Expand description

A premade variant of the haversine distance calculation function, made for double precision floating-point arithmetic.