pub struct NVector<N: RealFieldCopy> { /* private fields */ }
Expand description
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.
Implementations§
Trait Implementations§
source§impl<N, T> AddAssign<T> for NVector<N>where
N: RealFieldCopy + AddAssign,
T: Into<ENU<N>>,
impl<N, T> AddAssign<T> for NVector<N>where N: RealFieldCopy + AddAssign, T: Into<ENU<N>>,
source§fn add_assign(&mut self, right: T)
fn add_assign(&mut self, right: T)
Performs the
+=
operation. Read moresource§impl<N: PartialEq + RealFieldCopy> PartialEq<NVector<N>> for NVector<N>
impl<N: PartialEq + RealFieldCopy> PartialEq<NVector<N>> for NVector<N>
source§impl<N, T> SubAssign<T> for NVector<N>where
N: RealFieldCopy + SubAssign,
T: Into<ENU<N>>,
impl<N, T> SubAssign<T> for NVector<N>where N: RealFieldCopy + SubAssign, T: Into<ENU<N>>,
source§fn sub_assign(&mut self, right: T)
fn sub_assign(&mut self, right: T)
Performs the
-=
operation. Read moreimpl<N: Copy + RealFieldCopy> Copy for NVector<N>
impl<N: RealFieldCopy> StructuralPartialEq for NVector<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for NVector<N>where N: RefUnwindSafe,
impl<N> Send for NVector<N>
impl<N> Sync for NVector<N>
impl<N> Unpin for NVector<N>where N: Unpin,
impl<N> UnwindSafe for NVector<N>where N: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.