Enum nyx_space::dynamics::guidance::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
Fields
mapping: usize
Allows creating new custom events by matching on the value of the field
Implementations
sourceimpl 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
sourceimpl Clone for StateParameter
impl Clone for StateParameter
sourcefn clone(&self) -> StateParameter
fn clone(&self) -> StateParameter
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for StateParameter
impl Debug for StateParameter
sourceimpl Display for StateParameter
impl Display for StateParameter
sourceimpl From<StateParameter> for StateHeader
impl From<StateParameter> for StateHeader
sourcefn from(param: StateParameter) -> Self
fn from(param: StateParameter) -> Self
sourceimpl FromStr for StateParameter
impl FromStr for StateParameter
sourceimpl PartialEq<StateParameter> for StateParameter
impl PartialEq<StateParameter> for StateParameter
sourcefn eq(&self, other: &StateParameter) -> bool
fn eq(&self, other: &StateParameter) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Self
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 morefn 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.