pub struct GeodeticCoord<E> {
pub lat: Radians<f64>,
pub lon: Radians<f64>,
pub hgt: f64,
/* private fields */
}Expand description
A position on the earth represented by latitude [rad], longitude [rad], and geoid height [m].
Fields§
§lat: Radians<f64>§lon: Radians<f64>§hgt: f64Implementations§
Source§impl<E> GeodeticCoord<E>
impl<E> GeodeticCoord<E>
Trait Implementations§
Source§impl<E> ApproxEq for GeodeticCoord<E>
impl<E> ApproxEq for GeodeticCoord<E>
Source§fn default_epsilon() -> f64
fn default_epsilon() -> f64
The default tolerance to use when testing values that are close together. Read more
Source§fn default_max_relative() -> f64
fn default_max_relative() -> f64
The default relative tolerance for testing values that are far-apart. Read more
Source§fn default_max_ulps() -> u32
fn default_max_ulps() -> u32
The default ULPs to tolerate when testing values that are far-apart. Read more
Source§fn relative_eq(
&self,
other: &GeodeticCoord<E>,
epsilon: f64,
max_relative: f64,
) -> bool
fn relative_eq( &self, other: &GeodeticCoord<E>, epsilon: f64, max_relative: f64, ) -> bool
A test for equality that uses a relative comparison if the values are far apart.
Source§fn ulps_eq(&self, other: &GeodeticCoord<E>, epsilon: f64, max_ulps: u32) -> bool
fn ulps_eq(&self, other: &GeodeticCoord<E>, epsilon: f64, max_ulps: u32) -> bool
A test for equality that uses units in the last place (ULP) if the values are far apart.
Source§impl<E> Clone for GeodeticCoord<E>
impl<E> Clone for GeodeticCoord<E>
Source§impl<E: Ellipsoid> Debug for GeodeticCoord<E>
impl<E: Ellipsoid> Debug for GeodeticCoord<E>
Source§impl<E: Ellipsoid> From<GeocentricCoord> for GeodeticCoord<E>
impl<E: Ellipsoid> From<GeocentricCoord> for GeodeticCoord<E>
Source§fn from(xyz: GeocentricCoord) -> GeodeticCoord<E>
fn from(xyz: GeocentricCoord) -> GeodeticCoord<E>
Converts to this type from the input type.
Source§impl<E: Ellipsoid> From<GeodeticCoord<E>> for GeocentricCoord
impl<E: Ellipsoid> From<GeodeticCoord<E>> for GeocentricCoord
Source§fn from(blh: GeodeticCoord<E>) -> GeocentricCoord
fn from(blh: GeodeticCoord<E>) -> GeocentricCoord
Converts to this type from the input type.
Source§impl<E> PartialEq for GeodeticCoord<E>
impl<E> PartialEq for GeodeticCoord<E>
impl<E> Copy for GeodeticCoord<E>
Auto Trait Implementations§
impl<E> Freeze for GeodeticCoord<E>
impl<E> RefUnwindSafe for GeodeticCoord<E>where
E: RefUnwindSafe,
impl<E> Send for GeodeticCoord<E>where
E: Send,
impl<E> Sync for GeodeticCoord<E>where
E: Sync,
impl<E> Unpin for GeodeticCoord<E>where
E: Unpin,
impl<E> UnwindSafe for GeodeticCoord<E>where
E: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)