pub struct OrbitState {Show 25 fields
pub a: f64,
pub n0: f64,
pub n: f64,
pub tk: f64,
pub mk: f64,
pub eccentric_anomaly: f64,
pub kepler_iterations: usize,
pub sin_e: f64,
pub cos_e: f64,
pub nu: f64,
pub phi: f64,
pub s2: f64,
pub c2: f64,
pub du: f64,
pub dr: f64,
pub di: f64,
pub u: f64,
pub r: f64,
pub i: f64,
pub xp: f64,
pub yp: f64,
pub omega_k: f64,
pub x_m: f64,
pub y_m: f64,
pub z_m: f64,
}Expand description
The full intermediate substrate of a broadcast orbit evaluation.
Every field is exposed so a 0-ULP parity test can localize a mismatch to a
single operation. OrbitState::position returns the ECEF position.
Fields§
§a: f64Semi-major axis (m).
n0: f64Computed mean motion (rad/s).
n: f64Corrected mean motion (rad/s).
tk: f64Time from ephemeris reference epoch, half-week folded (s).
mk: f64Mean anomaly (rad).
eccentric_anomaly: f64Eccentric anomaly (rad).
kepler_iterations: usizeNumber of Kepler iterations.
sin_e: f64sin(E).
cos_e: f64cos(E).
nu: f64True anomaly (rad).
phi: f64Argument of latitude before correction (rad).
s2: f64sin(2*phi).
c2: f64cos(2*phi).
du: f64Argument-of-latitude correction (rad).
dr: f64Radius correction (m).
di: f64Inclination correction (rad).
u: f64Corrected argument of latitude (rad).
r: f64Corrected radius (m).
i: f64Corrected inclination (rad).
xp: f64Orbital-plane x (m).
yp: f64Orbital-plane y (m).
omega_k: f64Corrected longitude of ascending node (rad).
x_m: f64ECEF x (m).
y_m: f64ECEF y (m).
z_m: f64ECEF z (m).
Implementations§
Source§impl OrbitState
impl OrbitState
Sourcepub const fn position(&self) -> Result<ItrfPositionM, FrameValueError>
pub const fn position(&self) -> Result<ItrfPositionM, FrameValueError>
The Earth-fixed (ITRF/ECEF) satellite position in meters.
Trait Implementations§
Source§impl Clone for OrbitState
impl Clone for OrbitState
Source§fn clone(&self) -> OrbitState
fn clone(&self) -> OrbitState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for OrbitState
Source§impl Debug for OrbitState
impl Debug for OrbitState
Source§impl PartialEq for OrbitState
impl PartialEq for OrbitState
Source§fn eq(&self, other: &OrbitState) -> bool
fn eq(&self, other: &OrbitState) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrbitState
Auto Trait Implementations§
impl Freeze for OrbitState
impl RefUnwindSafe for OrbitState
impl Send for OrbitState
impl Sync for OrbitState
impl Unpin for OrbitState
impl UnsafeUnpin for OrbitState
impl UnwindSafe for OrbitState
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
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>
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>
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.