pub struct Sp3Selection<'a> { /* private fields */ }Expand description
A selected SP3 product plus its staleness metadata.
Obtain one from select_sp3 or select_sp3_over_range. The product is
borrowed from the caller’s set; the interpolation entry points and the
EphemerisSource impl delegate straight to it, so an exact selection is
bit-for-bit identical to interpolating the caller’s product directly.
Implementations§
Source§impl Sp3Selection<'_>
impl Sp3Selection<'_>
Sourcepub fn metadata(&self) -> StalenessMetadata
pub fn metadata(&self) -> StalenessMetadata
The staleness metadata for this selection.
Sourcepub fn position_at_j2000_seconds(
&self,
sat: GnssSatelliteId,
query_j2000_s: f64,
) -> Result<Sp3State>
pub fn position_at_j2000_seconds( &self, sat: GnssSatelliteId, query_j2000_s: f64, ) -> Result<Sp3State>
Interpolate sat at a J2000-second epoch on the selected product.
Delegates to Sp3::position_at_j2000_seconds,
so an exact selection is bit-for-bit identical to calling it on the
caller’s product.
Trait Implementations§
Source§impl<'a> Clone for Sp3Selection<'a>
impl<'a> Clone for Sp3Selection<'a>
Source§fn clone(&self) -> Sp3Selection<'a>
fn clone(&self) -> Sp3Selection<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for Sp3Selection<'a>
impl<'a> Debug for Sp3Selection<'a>
Source§impl EphemerisSource for Sp3Selection<'_>
impl EphemerisSource for Sp3Selection<'_>
Source§fn position_clock_at_j2000_s(
&self,
sat: GnssSatelliteId,
t_j2000_s: f64,
) -> Option<([f64; 3], f64)>
fn position_clock_at_j2000_s( &self, sat: GnssSatelliteId, t_j2000_s: f64, ) -> Option<([f64; 3], f64)>
ECEF position (m) and satellite clock offset (s) for
sat at t_j2000_s.Source§impl<'a> PartialEq for Sp3Selection<'a>
impl<'a> PartialEq for Sp3Selection<'a>
Source§fn eq(&self, other: &Sp3Selection<'a>) -> bool
fn eq(&self, other: &Sp3Selection<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for Sp3Selection<'a>
Auto Trait Implementations§
impl<'a> Freeze for Sp3Selection<'a>
impl<'a> RefUnwindSafe for Sp3Selection<'a>
impl<'a> Send for Sp3Selection<'a>
impl<'a> Sync for Sp3Selection<'a>
impl<'a> Unpin for Sp3Selection<'a>
impl<'a> UnsafeUnpin for Sp3Selection<'a>
impl<'a> UnwindSafe for Sp3Selection<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.