Function calculate_haversine_distance

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

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