pub struct Geode { /* private fields */ }Implementations§
Source§impl Geode
impl Geode
pub fn new<Unit: AngleUnit>(lat: Angle<Unit>, lon: Angle<Unit>) -> Self
pub fn lat<Unit: AngleUnit>(&self) -> Angle<Unit>
pub fn lon<Unit: AngleUnit>(&self) -> Angle<Unit>
pub fn set_lat<Unit: AngleUnit>(&mut self, lat: Angle<Unit>)
pub fn set_lon<Unit: AngleUnit>(&mut self, lon: Angle<Unit>)
pub fn lat_mut(&mut self) -> &mut Angle<Radians>
pub fn lon_mut(&mut self) -> &mut Angle<Radians>
pub fn latitude_direction_char(&self) -> char
pub fn longitude_direction_char(&self) -> char
pub fn sea_level(&self) -> Geodetic
pub fn asl<Unit: LengthUnit>(&self, altitude: Length<Unit>) -> Geodetic
pub fn geocenter<Unit: LengthUnit>(&self, distance: Length<Unit>) -> Geodetic
pub fn lat_lon<Unit: AngleUnit>(&self) -> DVec2
pub fn rotation(&self) -> DQuat
pub fn interpolate(&self, other: &Self, f: f64) -> Self
Trait Implementations§
Source§impl Ord for Geode
impl Ord for Geode
Source§impl PartialOrd for Geode
impl PartialOrd for Geode
impl Copy for Geode
impl Eq for Geode
impl StructuralPartialEq for Geode
Auto Trait Implementations§
impl Freeze for Geode
impl RefUnwindSafe for Geode
impl Send for Geode
impl Sync for Geode
impl Unpin for Geode
impl UnwindSafe for Geode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more