Struct nav_types::NED [] [src]

pub struct NED<N>(_);

North East Down vector

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

Methods

impl<N> NED<N>
[src]

Create a new NED vector

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

Get the North component of this vector

Get the East component of this vector

Get the Down component of this vector

Trait Implementations

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

Formats the value using the given formatter.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

The resulting type after applying the + operator

The method for the + operator

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

The method for the += operator

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

The resulting type after applying the - operator

The method for the - operator

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

The method for the -= operator

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

The resulting type after applying the * operator

The method for the * operator

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

The method for the *= operator

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

The resulting type after applying the / operator

The method for the / operator

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

The method for the /= operator

impl<N: BaseFloat> Norm for NED<N>
[src]

The scalar type for the norm (i.e. the undelying field).

Computes the squared norm of self. Read more

Gets the normalized version of a copy of v. Read more

Normalizes self. Read more

Gets the normalized version of a copy of v or None if the vector has a norm smaller or equal to min_norm. In particular, .try_normalize(0.0) returns None if the norm is exactly zero. Read more

Normalized v or does nothing if the vector has a norm smaller or equal to min_norm. Read more

Computes the norm of self.