pub struct ElementSet {
pub epoch: JulianDate,
pub bstar: f64,
pub mean_motion_dot: f64,
pub mean_motion_double_dot: f64,
pub eccentricity: f64,
pub argument_of_perigee_deg: f64,
pub inclination_deg: f64,
pub mean_anomaly_deg: f64,
pub mean_motion_rev_per_day: f64,
pub right_ascension_deg: f64,
pub catalog_number: u32,
}Expand description
Pre-parsed Vallado SGP4 element set.
Use this when the TLE has already been parsed externally (e.g. from an OMM message, JSON catalog, or another system) and you want to feed the element values directly into the SGP4 initializer instead of going through the TLE string parser.
Field units match the Vallado SGP4 reference inputs: angles in degrees, mean motion in revolutions per day, drag term in the dimensionless TLE convention.
Fields§
§epoch: JulianDateEpoch as a split Julian date (whole, fraction).
This is format-agnostic and loss-free for the SGP4 initializer: TLE
conversion stores the exact split JD produced by Vallado’s
days2mdhms/jday path with the legacy 8-decimal fraction rounding,
while OMM conversion stores the split JD from its full calendar
timestamp directly.
bstar: f64SGP4 drag term (Vallado B*). Dimensionless TLE convention.
mean_motion_dot: f64First derivative of mean motion in rev/day². TLE “ndot”.
mean_motion_double_dot: f64Second derivative of mean motion in rev/day³. TLE “nddot”.
eccentricity: f64Eccentricity, dimensionless, in [0, 1).
argument_of_perigee_deg: f64Argument of perigee, degrees.
inclination_deg: f64Inclination, degrees.
mean_anomaly_deg: f64Mean anomaly, degrees.
mean_motion_rev_per_day: f64Mean motion, revolutions per day.
right_ascension_deg: f64Right ascension of ascending node (RAAN), degrees.
catalog_number: u32Catalog (NORAD) number for this object. Used only for diagnostic
reporting inside SGP4 - propagation results do not depend on it.
Pass 0 if unknown.
Trait Implementations§
Source§impl Clone for ElementSet
impl Clone for ElementSet
Source§fn clone(&self) -> ElementSet
fn clone(&self) -> ElementSet
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ElementSet
impl Debug for ElementSet
Source§impl<'de> Deserialize<'de> for ElementSet
impl<'de> Deserialize<'de> for ElementSet
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>,
Source§impl PartialEq for ElementSet
impl PartialEq for ElementSet
Source§fn eq(&self, other: &ElementSet) -> bool
fn eq(&self, other: &ElementSet) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ElementSet
impl Serialize for ElementSet
impl StructuralPartialEq for ElementSet
Auto Trait Implementations§
impl Freeze for ElementSet
impl RefUnwindSafe for ElementSet
impl Send for ElementSet
impl Sync for ElementSet
impl Unpin for ElementSet
impl UnsafeUnpin for ElementSet
impl UnwindSafe for ElementSet
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,
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>
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.