pub enum StateParameter {
Show 50 variants
AoL,
AoP,
Apoapsis,
ApoapsisRadius,
BdotR,
BdotT,
BLTOF,
C3,
Cd,
Cr,
Declination,
DryMass,
Epoch,
EccentricAnomaly,
Eccentricity,
Energy,
FlightPathAngle,
FuelMass,
Height,
Latitude,
Longitude,
GuidanceMode,
Hmag,
HX,
HY,
HZ,
HyperbolicAnomaly,
Inclination,
Isp,
MeanAnomaly,
Periapsis,
PeriapsisRadius,
Period,
RightAscension,
RAAN,
Rmag,
SemiParameter,
SMA,
SemiMinorAxis,
Thrust,
TrueAnomaly,
TrueLongitude,
VelocityDeclination,
Vmag,
X,
Y,
Z,
VX,
VY,
VZ,
}
Expand description
Common state parameters
Variants§
AoL
Argument of Latitude (deg)
AoP
Argument of Periapse (deg)
Apoapsis
Apoapsis, shortcut for TA == 180.0
ApoapsisRadius
Radius of apoapsis (km)
BdotR
B-Plane B⋅R
BdotT
B-Plane B⋅T
BLTOF
B-Plane LTOF
C3
C_3 in (km/s)^2
Cd
Coefficient of drag
Cr
Coefficient of reflectivity
Declination
Declination (deg) (also called elevation if in a body fixed frame)
DryMass
Dry mass (kg)
Epoch
The epoch of the state
EccentricAnomaly
Eccentric anomaly (deg)
Eccentricity
Eccentricity (no unit)
Energy
Specific energy
FlightPathAngle
Flight path angle (deg)
FuelMass
fuel mass in kilograms
Height
Geodetic height (km)
Latitude
Geodetic latitude (deg)
Longitude
Geodetic longitude (deg)
GuidanceMode
Return the guidance mode of the spacecraft
Hmag
Orbital momentum
HX
X component of the orbital momentum vector
HY
Y component of the orbital momentum vector
HZ
Z component of the orbital momentum vector
HyperbolicAnomaly
Hyperbolic anomaly (deg), only valid for hyperbolic orbits
Inclination
Inclination (deg)
Isp
Specific impulse (isp) in seconds
MeanAnomaly
Mean anomaly (deg)
Periapsis
Periapsis, shortcut for TA == 0.0
PeriapsisRadius
Radius of periapse (km)
Period
Orbital period (s)
RightAscension
Right ascension (deg)
RAAN
Right ascension of the ascending node (deg)
Rmag
Norm of the radius vector
SemiParameter
Semi parameter (km)
SMA
Semi major axis (km)
SemiMinorAxis
Semi minor axis (km)
Thrust
Thrust (Newtons)
TrueAnomaly
True anomaly
TrueLongitude
True longitude
VelocityDeclination
Velocity declination (deg)
Vmag
Norm of the velocity vector (km/s)
X
X component of the radius (km)
Y
Y component of the radius (km)
Z
Z component of the radius (km)
VX
X component of the velocity (km/s)
VY
Y component of the velocity (km/s)
VZ
Z component of the velocity (km/s)
Implementations§
Source§impl StateParameter
impl StateParameter
Sourcepub fn default_event_precision(&self) -> f64
pub fn default_event_precision(&self) -> f64
Returns the default event finding precision in the unit of that parameter
Sourcepub const fn is_b_plane(&self) -> bool
pub const fn is_b_plane(&self) -> bool
Returns whether this parameter is of the B-Plane kind
Sourcepub const fn is_orbital(&self) -> bool
pub const fn is_orbital(&self) -> bool
Returns whether this is an orbital parameter
Sourcepub const fn is_for_spacecraft(&self) -> bool
pub const fn is_for_spacecraft(&self) -> bool
Returns whether this parameter is only applicable to a spacecraft state
pub const fn unit(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StateParameter
impl Clone for StateParameter
Source§fn clone(&self) -> StateParameter
fn clone(&self) -> StateParameter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StateParameter
impl Debug for StateParameter
Source§impl<'de> Deserialize<'de> for StateParameter
impl<'de> Deserialize<'de> for StateParameter
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 Display for StateParameter
impl Display for StateParameter
Source§impl FromStr for StateParameter
impl FromStr for StateParameter
Source§impl PartialEq for StateParameter
impl PartialEq for StateParameter
Source§impl Sequence for StateParameter
impl Sequence for StateParameter
Source§impl Serialize for StateParameter
impl Serialize for StateParameter
impl Copy for StateParameter
impl StructuralPartialEq for StateParameter
Auto Trait Implementations§
impl Freeze for StateParameter
impl RefUnwindSafe for StateParameter
impl Send for StateParameter
impl Sync for StateParameter
impl Unpin for StateParameter
impl UnwindSafe for StateParameter
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> FromDhall for Twhere
T: DeserializeOwned,
impl<T> FromDhall for Twhere
T: DeserializeOwned,
fn from_dhall(v: &Value) -> Result<T, Error>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.