Enum nyx_space::md::ui::StateParameter [−][src]
pub enum StateParameter {
Show 48 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,
MeanAnomaly,
Periapsis,
PeriapsisRadius,
Period,
RightAscension,
RAAN,
Rmag,
SemiParameter,
SlantAngle {
x: f64,
y: f64,
z: f64,
},
SMA,
SemiMinorAxis,
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)
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)
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
Returns the default event finding precision in the unit of that parameter
Returns whether this parameter is of the B-Plane kind
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.