Enum nyx_space::md::StateParameter
source · pub enum StateParameter {
Show 50 variants
AoL,
AoP,
Apoapsis,
ApoapsisRadius,
BdotR,
BdotT,
BLTOF,
C3,
Cd,
Cr,
Declination,
Epoch,
EccentricAnomaly,
Eccentricity,
Energy,
FlightPathAngle,
FuelMass,
GeodeticHeight,
GeodeticLatitude,
GeodeticLongitude,
Hmag,
HX,
HY,
HZ,
HyperbolicAnomaly,
Inclination,
Isp,
MeanAnomaly,
Periapsis,
PeriapsisRadius,
Period,
RightAscension,
RAAN,
Rmag,
SemiParameter,
SlantAngle {
x: f64,
y: f64,
z: f64,
},
SMA,
SemiMinorAxis,
Thrust,
TrueAnomaly,
TrueLongitude,
VelocityDeclination,
Vmag,
X,
Y,
Z,
VX,
VY,
VZ,
Custom {
mapping: usize,
},
}
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)
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
GeodeticHeight
Geodetic height (km)
GeodeticLatitude
Geodetic latitude (deg)
GeodeticLongitude
Geodetic longitude (deg)
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)
SlantAngle
Computes the slant angle by returning the arccos of the dot product between state’s radius vector and the provided vector coordinates. The vector will be normalized if needed.
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)
Custom
Allows creating new custom events by matching on the value of the field
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 fn is_b_plane(self) -> bool
pub fn is_b_plane(self) -> bool
Returns whether this parameter is of the B-Plane kind
pub 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 Display for StateParameter
impl Display for StateParameter
source§impl From<StateParameter> for StateHeader
impl From<StateParameter> for StateHeader
source§fn from(param: StateParameter) -> Self
fn from(param: StateParameter) -> Self
source§impl FromStr for StateParameter
impl FromStr for StateParameter
source§impl PartialEq<StateParameter> for StateParameter
impl PartialEq<StateParameter> for StateParameter
source§fn eq(&self, other: &StateParameter) -> bool
fn eq(&self, other: &StateParameter) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for StateParameter
impl StructuralPartialEq for StateParameter
Auto Trait Implementations§
impl RefUnwindSafe for StateParameter
impl Send for StateParameter
impl Sync for StateParameter
impl Unpin for StateParameter
impl UnwindSafe for StateParameter
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Printing<T> for Twhere
T: Display,
impl<T> Printing<T> for Twhere T: Display,
§fn to_str(self) -> String
fn to_str(self) -> String
printing.rs
. §fn to_plainstr(self) -> String
fn to_plainstr(self) -> String
printing.rs
.§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.