[][src]Struct nav_types::ECEF

pub struct ECEF<N: RealField>(_);

Earth Centered Earth Fixed position

This struct represents a position in the ECEF coordinate system. See: ECEF for general description.

Methods

impl<N: RealField> ECEF<N>[src]

pub fn new(x: N, y: N, z: N) -> ECEF<N>[src]

Create a new ECEF position

impl<N: RealField> ECEF<N>[src]

pub fn x(&self) -> N[src]

Get the X component of this position

pub fn y(&self) -> N[src]

Get the Y component of this position

pub fn z(&self) -> N[src]

Get the Z component of this position

impl<N: RealField> ECEF<N>[src]

pub fn distance(&self, other: &ECEF<N>) -> N where
    N: RealField, 
[src]

Euclidean distance between two ECEF positions

Trait Implementations

impl<N, T> Add<T> for ECEF<N> where
    N: RealField,
    T: Into<ENU<N>>, 
[src]

type Output = ECEF<N>

The resulting type after applying the + operator.

impl<N, T> AddAssign<T> for ECEF<N> where
    N: RealField + AddAssign,
    T: Into<ENU<N>>, 
[src]

impl<N: Clone + RealField> Clone for ECEF<N>[src]

impl<N: Copy + RealField> Copy for ECEF<N>[src]

impl<N: Debug + RealField> Debug for ECEF<N>[src]

impl<N: RealField> From<ECEF<N>> for NVector<N>[src]

impl<N: RealField> From<ECEF<N>> for WGS84<N>[src]

impl<N: RealField> From<NVector<N>> for ECEF<N>[src]

impl<N: RealField> From<WGS84<N>> for ECEF<N>[src]

impl<N: PartialEq + RealField> PartialEq<ECEF<N>> for ECEF<N>[src]

impl<N: RealField> StructuralPartialEq for ECEF<N>[src]

impl<N: RealField> Sub<ECEF<N>> for ECEF<N>[src]

type Output = ENU<N>

The resulting type after applying the - operator.

impl<N, T> Sub<T> for ECEF<N> where
    N: RealField,
    T: Into<ENU<N>>, 
[src]

type Output = ECEF<N>

The resulting type after applying the - operator.

impl<N, T> SubAssign<T> for ECEF<N> where
    N: RealField + SubAssign,
    T: Into<ENU<N>>, 
[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for ECEF<N> where
    N: RefUnwindSafe + Scalar

impl<N> Send for ECEF<N> where
    N: Scalar

impl<N> Sync for ECEF<N> where
    N: Scalar

impl<N> Unpin for ECEF<N> where
    N: Scalar + Unpin

impl<N> UnwindSafe for ECEF<N> where
    N: Scalar + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Right> ClosedAdd<Right> for T where
    T: Add<Right, Output = T> + AddAssign<Right>, 

impl<T, Right> ClosedSub<Right> for T where
    T: Sub<Right, Output = T> + SubAssign<Right>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,