[][src]Function geomorph::math::angle_diff

pub fn angle_diff(x: f64, y: f64) -> f64

Calculate a normalized difference between a pair of angles given in degrees

Arguments

  • x: f64 - In degrees
  • y: f64 - In degrees

Example

let x: f64 = 453.0;
let y: f64 = 1832.0;
let z: f64 = geomorph::math::angle_diff(x, y);