Trait geodesy::AngularUnits
source · pub trait AngularUnits {
// Required methods
fn to_radians(&self) -> Self;
fn to_degrees(&self) -> Self;
fn to_arcsec(&self) -> Self;
fn to_geo(&self) -> Self;
}
Expand description
Methods for changing the coordinate representation of angles. Dimensionality untold, the methods operate on the first two dimensions only.
Required Methods§
sourcefn to_radians(&self) -> Self
fn to_radians(&self) -> Self
Transform the first two elements of a coordinate tuple from degrees to radians
sourcefn to_degrees(&self) -> Self
fn to_degrees(&self) -> Self
Transform the first two elements of a coordinate tuple from radians to degrees
Object Safety§
This trait is not object safe.