Struct nav_types::NVector
[−]
[src]
pub struct NVector<N> { // some fields omitted }
N-Vector position
The N-Vector represents unique points on the earth's surface. The advantage of N-Vectors is that they have no inconsistencies around the poles compared to WGS84 Latitude, Longitude format. See: nvector for detailed information.
Methods
impl<N> NVector<N>
[src]
impl<N: Copy> NVector<N>
[src]
fn vector(&self) -> Vector3<N>
Get the vector component of this position
fn altitude(&self) -> N
Get the altitude of this position
Trait Implementations
impl<N, T> Add<T> for NVector<N> where N: Float, T: Into<ENU<N>>
[src]
type Output = NVector<N>
The resulting type after applying the +
operator
fn add(self, right: T) -> Self
The method for the +
operator
impl<N, T> AddAssign<T> for NVector<N> where N: Float + AddAssign, T: Into<ENU<N>>
[src]
fn add_assign(&mut self, right: T)
The method for the +=
operator
impl<N, T> Sub<T> for NVector<N> where N: Float, T: Into<ENU<N>>
[src]
type Output = NVector<N>
The resulting type after applying the -
operator
fn sub(self, right: T) -> NVector<N>
The method for the -
operator
impl<N: Float> Sub<NVector<N>> for NVector<N>
[src]
type Output = ENU<N>
The resulting type after applying the -
operator
fn sub(self, right: NVector<N>) -> ENU<N>
The method for the -
operator
impl<N, T> SubAssign<T> for NVector<N> where N: Float + SubAssign, T: Into<ENU<N>>
[src]
fn sub_assign(&mut self, right: T)
The method for the -=
operator
impl<N: Debug> Debug for NVector<N>
[src]
impl<N: Copy> Copy for NVector<N>
[src]
impl<N: Clone> Clone for NVector<N>
[src]
fn clone(&self) -> NVector<N>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<N: PartialEq> PartialEq for NVector<N>
[src]
fn eq(&self, __arg_0: &NVector<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NVector<N>) -> bool
This method tests for !=
.