Enum nyx_space::celestia::eclipse::Frame [−][src]
pub enum Frame { Celestial { gm: f64, ephem_path: [Option<usize>; 3], frame_path: [Option<usize>; 3], }, Geoid { gm: f64, flattening: f64, equatorial_radius: f64, semi_major_radius: f64, ephem_path: [Option<usize>; 3], frame_path: [Option<usize>; 3], }, VNC, RCN, RIC, Inertial, }
Variants
Any celestial frame which only has a GM (e.g. 3 body frames)
Any Geoid which has a GM, flattening value, etc.
Show fields
Velocity, Normal, Cross (called VNB in GMAT)
Radial, Cross, Normal
Radial, in-track, normal
Used as a placeholder only
Implementations
Returns the angular velocity for some planets and moons Source for Earth: G. Xu and Y. Xu, “GPS”, DOI 10.1007/978-3-662-50367-6_2, 2016 (confirmed by https://hpiers.obspm.fr/eop-pc/models/constants.html) Source for everything else: https://en.wikipedia.org/w/index.php?title=Day&oldid=1008298887
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
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.
pub fn vzip(self) -> V