Struct sgp4_rs::ClassicalOrbitalElements
source · pub struct ClassicalOrbitalElements {
pub semilatus_rectum: Length,
pub semimajor_axis: Length,
pub eccentricity: f64,
pub inclination: Angle,
pub raan: Angle,
pub argument_of_perigee: Angle,
pub true_anomaly: Angle,
pub mean_anomaly: Angle,
pub argument_of_latitude: Angle,
pub true_longitude: Angle,
pub longitude_of_periapsis: Angle,
}
Expand description
A Keplerian orbital element set.
This structure contains all of the “classical” orbital elements as derivable from a TLE. We
lean on the uom
crate to provide safe dimensional types which help to avoid bugs related to
mixing units of measure.
Fields§
§semilatus_rectum: Length
§semimajor_axis: Length
§eccentricity: f64
§inclination: Angle
§raan: Angle
§argument_of_perigee: Angle
§true_anomaly: Angle
§mean_anomaly: Angle
§argument_of_latitude: Angle
§true_longitude: Angle
§longitude_of_periapsis: Angle
Trait Implementations§
source§impl Clone for ClassicalOrbitalElements
impl Clone for ClassicalOrbitalElements
source§fn clone(&self) -> ClassicalOrbitalElements
fn clone(&self) -> ClassicalOrbitalElements
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClassicalOrbitalElements
impl Debug for ClassicalOrbitalElements
source§impl From<StateVector> for ClassicalOrbitalElements
impl From<StateVector> for ClassicalOrbitalElements
source§fn from(sv: StateVector) -> Self
fn from(sv: StateVector) -> Self
Converts to this type from the input type.
source§impl PartialEq<ClassicalOrbitalElements> for ClassicalOrbitalElements
impl PartialEq<ClassicalOrbitalElements> for ClassicalOrbitalElements
source§fn eq(&self, other: &ClassicalOrbitalElements) -> bool
fn eq(&self, other: &ClassicalOrbitalElements) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ClassicalOrbitalElements
impl StructuralPartialEq for ClassicalOrbitalElements
Auto Trait Implementations§
impl RefUnwindSafe for ClassicalOrbitalElements
impl Send for ClassicalOrbitalElements
impl Sync for ClassicalOrbitalElements
impl Unpin for ClassicalOrbitalElements
impl UnwindSafe for ClassicalOrbitalElements
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