Skip to main content

bearing

Function bearing 

Source
pub fn bearing(from: &GeoCoord, to: &GeoCoord) -> f64
Expand description

Initial bearing (forward azimuth) from a to b in degrees (0–360).

North = 0°, East = 90°, South = 180°, West = 270°.