[−][src]Struct nav_types::NVector
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]
pub fn vector(&self) -> Vector3<N>
[src]
Get the vector component of this position
pub fn altitude(&self) -> N
[src]
Get the altitude of this position
Trait Implementations
impl<N: PartialEq> PartialEq<NVector<N>> 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>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Float> From<NVector<N>> for ECEF<N>
[src]
impl<N: Float> From<WGS84<N>> for NVector<N>
[src]
impl<N: Float> From<ECEF<N>> for NVector<N>
[src]
impl<N: Float> From<NVector<N>> for WGS84<N>
[src]
impl<N: Debug> Debug for NVector<N>
[src]
impl<N, T> Sub<T> for NVector<N> where
N: Float,
T: Into<ENU<N>>,
[src]
N: Float,
T: Into<ENU<N>>,
type Output = NVector<N>
The resulting type after applying the -
operator.
fn sub(self, right: T) -> NVector<N>
[src]
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>
[src]
impl<N, T> Add<T> for NVector<N> where
N: Float,
T: Into<ENU<N>>,
[src]
N: Float,
T: Into<ENU<N>>,
type Output = NVector<N>
The resulting type after applying the +
operator.
fn add(self, right: T) -> Self
[src]
impl<N, T> AddAssign<T> for NVector<N> where
N: Float + AddAssign,
T: Into<ENU<N>>,
[src]
N: Float + AddAssign,
T: Into<ENU<N>>,
fn add_assign(&mut self, right: T)
[src]
impl<N, T> SubAssign<T> for NVector<N> where
N: Float + SubAssign,
T: Into<ENU<N>>,
[src]
N: Float + SubAssign,
T: Into<ENU<N>>,
fn sub_assign(&mut self, right: T)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,