[−][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: RealField> NVector<N>
[src]
impl<N: RealField + 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, T> Add<T> for NVector<N> where
N: RealField,
T: Into<ENU<N>>,
[src]
N: RealField,
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: RealField + AddAssign,
T: Into<ENU<N>>,
[src]
N: RealField + AddAssign,
T: Into<ENU<N>>,
fn add_assign(&mut self, right: T)
[src]
impl<N: Clone + RealField> Clone for NVector<N>
[src]
impl<N: Copy + RealField> Copy for NVector<N>
[src]
impl<N: Debug + RealField> Debug for NVector<N>
[src]
impl<N: RealField> From<ECEF<N>> for NVector<N>
[src]
impl<N: RealField> From<NVector<N>> for ECEF<N>
[src]
impl<N: RealField> From<NVector<N>> for WGS84<N>
[src]
impl<N: RealField> From<WGS84<N>> for NVector<N>
[src]
impl<N: PartialEq + RealField> PartialEq<NVector<N>> for NVector<N>
[src]
impl<N: RealField> StructuralPartialEq for NVector<N>
[src]
impl<N: RealField> 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> Sub<T> for NVector<N> where
N: RealField,
T: Into<ENU<N>>,
[src]
N: RealField,
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, T> SubAssign<T> for NVector<N> where
N: RealField + SubAssign,
T: Into<ENU<N>>,
[src]
N: RealField + SubAssign,
T: Into<ENU<N>>,
fn sub_assign(&mut self, right: T)
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for NVector<N> where
N: RefUnwindSafe + Scalar,
N: RefUnwindSafe + Scalar,
impl<N> Send for NVector<N> where
N: Scalar,
N: Scalar,
impl<N> Sync for NVector<N> where
N: Scalar,
N: Scalar,
impl<N> Unpin for NVector<N> where
N: Scalar + Unpin,
N: Scalar + Unpin,
impl<N> UnwindSafe for NVector<N> where
N: Scalar + UnwindSafe,
N: Scalar + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
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]
U: From<T>,
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]
T: PartialEq<T> + Copy + Any + Debug,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
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> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,