pub struct RootInertial;Expand description
The simulation’s root inertial frame — the unique inertial node at the top of the frame tree.
In all current sims this is Earth-centered (ICRF / J2000) because Earth is the central body, but the semantic is “whatever the simulation’s root inertial frame is” — for an SSB-rooted setup it would be heliocentric/barycentric.
Distinct from PlanetInertial<P> (a particular planet’s inertial
frame, which may be a non-root child of RootInertial in the tree) and
from IntegrationFrame (a body’s integration frame, which equals
RootInertial when the body integrates in root and equals some
PlanetInertial<P> when it integrates in a child).
Consumers that mix body state with root-inertial source positions (gravity sources, Sun, Moon) — gravity, relativistic, SRP, solar beta, earth lighting — require their position arguments in this frame. See issue #255 / RF.10.
Trait Implementations§
Source§impl Clone for RootInertial
impl Clone for RootInertial
Source§fn clone(&self) -> RootInertial
fn clone(&self) -> RootInertial
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more