[][src]Struct nav_types::NED

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

North East Down vector

This struct represents a vector in the NED coordinate system. See: NED for a general description.

Methods

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

pub fn new(n: N, e: N, d: N) -> NED<N>[src]

Create a new NED vector

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

Computes the L2 (Euclidean) norm of this vector

impl<N: RealField + Copy> NED<N>[src]

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

Get the North component of this vector

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

Get the East component of this vector

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

Get the Down component of this vector

Trait Implementations

impl<N: RealField + Copy + Add<N, Output = N>> Add<NED<N>> for NED<N>[src]

type Output = NED<N>

The resulting type after applying the + operator.

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

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

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

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

impl<N: RealField + Copy + Div<N, Output = N>> Div<N> for NED<N>[src]

type Output = NED<N>

The resulting type after applying the / operator.

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

impl<N: RealField + Copy + Neg<Output = N>> From<NED<N>> for ENU<N>[src]

fn from(e: NED<N>) -> Self[src]

Convert NED vectors into ENU

impl<N: RealField + Copy + Mul<N, Output = N>> Mul<N> for NED<N>[src]

type Output = NED<N>

The resulting type after applying the * operator.

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

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

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

impl<N: RealField + Copy + Sub<N, Output = N>> Sub<NED<N>> for NED<N>[src]

type Output = NED<N>

The resulting type after applying the - operator.

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

Auto Trait Implementations

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

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

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

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

impl<N> UnwindSafe for NED<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> ClosedDiv<Right> for T where
    T: Div<Right, Output = T> + DivAssign<Right>, 

impl<T, Right> ClosedMul<Right> for T where
    T: Mul<Right, Output = T> + MulAssign<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>,