Skip to main content

angular_separation

Function angular_separation 

Source
pub fn angular_separation(a: f64, b: f64) -> f64
Expand description

Compute the shortest angular separation between two angles in degrees.

Both inputs are treated as degree values. The result is in [0, 180].