pub struct SyntheticKeplerOrbit {
pub satellite_id: GnssSatelliteId,
pub semi_major_axis_m: f64,
pub eccentricity: f64,
pub inclination_rad: f64,
pub raan_rad: f64,
pub arg_perigee_rad: f64,
pub mean_anomaly_rad: f64,
pub epoch_j2000_s: f64,
pub clock_bias_s: f64,
pub clock_drift_s_s: f64,
}Expand description
One synthetic two-body Keplerian satellite.
Fields§
§satellite_id: GnssSatelliteIdSatellite identifier used in output arrays and RINEX.
semi_major_axis_m: f64Semi-major axis in meters.
eccentricity: f64Eccentricity, in [0, 1).
inclination_rad: f64Inclination in radians.
raan_rad: f64Right ascension of ascending node in radians.
arg_perigee_rad: f64Argument of perigee in radians.
mean_anomaly_rad: f64Mean anomaly at epoch_j2000_s, radians.
epoch_j2000_s: f64Element epoch, seconds since J2000.
clock_bias_s: f64Nominal satellite clock offset at the element epoch, seconds.
clock_drift_s_s: f64Nominal satellite clock drift, seconds per second.
Implementations§
Source§impl SyntheticKeplerOrbit
impl SyntheticKeplerOrbit
Sourcepub fn validate(&self) -> Result<(), ScenarioError>
pub fn validate(&self) -> Result<(), ScenarioError>
Validate orbit fields.
Trait Implementations§
Source§impl Clone for SyntheticKeplerOrbit
impl Clone for SyntheticKeplerOrbit
Source§fn clone(&self) -> SyntheticKeplerOrbit
fn clone(&self) -> SyntheticKeplerOrbit
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 moreimpl Copy for SyntheticKeplerOrbit
Source§impl Debug for SyntheticKeplerOrbit
impl Debug for SyntheticKeplerOrbit
Source§impl<'de> Deserialize<'de> for SyntheticKeplerOrbit
impl<'de> Deserialize<'de> for SyntheticKeplerOrbit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SyntheticKeplerOrbit
impl PartialEq for SyntheticKeplerOrbit
Source§fn eq(&self, other: &SyntheticKeplerOrbit) -> bool
fn eq(&self, other: &SyntheticKeplerOrbit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SyntheticKeplerOrbit
impl Serialize for SyntheticKeplerOrbit
impl StructuralPartialEq for SyntheticKeplerOrbit
Auto Trait Implementations§
impl Freeze for SyntheticKeplerOrbit
impl RefUnwindSafe for SyntheticKeplerOrbit
impl Send for SyntheticKeplerOrbit
impl Sync for SyntheticKeplerOrbit
impl Unpin for SyntheticKeplerOrbit
impl UnsafeUnpin for SyntheticKeplerOrbit
impl UnwindSafe for SyntheticKeplerOrbit
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.