Struct nav_types::ECEF
[−]
[src]
pub struct ECEF<N>(_);
Earth Centered Earth Fixed position
This struct represents a position in the ECEF coordinate system. See: ECEF for general description.
Methods
impl<N> ECEF<N>
[src]
impl<N: Copy> ECEF<N>
[src]
fn x(&self) -> N
Get the X component of this position
fn y(&self) -> N
Get the Y component of this position
fn z(&self) -> N
Get the Z component of this position
Trait Implementations
impl<N: PartialEq> PartialEq for ECEF<N>
[src]
fn eq(&self, __arg_0: &ECEF<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ECEF<N>) -> bool
This method tests for !=
.
impl<N: Clone> Clone for ECEF<N>
[src]
fn clone(&self) -> ECEF<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: Copy> Copy for ECEF<N>
[src]
impl<N: Debug> Debug for ECEF<N>
[src]
impl<N, T> Add<T> for ECEF<N> where N: Float, T: Into<ENU<N>>
[src]
type Output = ECEF<N>
The resulting type after applying the +
operator
fn add(self, right: T) -> ECEF<N>
The method for the +
operator
impl<N, T> AddAssign<T> for ECEF<N> where N: Float + AddAssign, T: Into<ENU<N>>
[src]
fn add_assign(&mut self, right: T)
The method for the +=
operator
impl<N: Float> Sub<ECEF<N>> for ECEF<N>
[src]
type Output = ENU<N>
The resulting type after applying the -
operator
fn sub(self, right: ECEF<N>) -> ENU<N>
The method for the -
operator
impl<N, T> Sub<T> for ECEF<N> where N: Float, T: Into<ENU<N>>
[src]
type Output = ECEF<N>
The resulting type after applying the -
operator
fn sub(self, right: T) -> ECEF<N>
The method for the -
operator
impl<N, T> SubAssign<T> for ECEF<N> where N: Float + SubAssign, T: Into<ENU<N>>
[src]
fn sub_assign(&mut self, right: T)
The method for the -=
operator