Skip to main content

arcmin

Function arcmin 

Source
pub fn arcmin(v: f64) -> Angle
Expand description

Creates an angle from arcminutes. Shorthand for Angle::from_arcminutes.

ยงExample

use celestial_core::angle::arcmin;

let angle = arcmin(60.0);  // 1 degree
assert!((angle.degrees() - 1.0).abs() < 1e-10);