pub struct CioInterpolator { /* private fields */ }Expand description
A GCRF→ITRF transform provider that interpolates the slow precession-nutation geometry from a grid precomputed over the propagation span, applying the exact Earth Rotation Angle per query.
Implementations§
Source§impl CioInterpolator
impl CioInterpolator
Sourcepub fn new(
epoch_ut1: Epoch<Ut1>,
epoch_tt: Epoch<Tt>,
span: f64,
xp: Angle,
yp: Angle,
dx: Angle,
dy: Angle,
lod_seconds: f64,
) -> Self
pub fn new( epoch_ut1: Epoch<Ut1>, epoch_tt: Epoch<Tt>, span: f64, xp: Angle, yp: Angle, dx: Angle, dy: Angle, lod_seconds: f64, ) -> Self
Build the interpolator for propagation over [min(0, span), max(0, span)] seconds from the
epoch. epoch_ut1/epoch_tt are the arc’s start on the two time scales; xp/yp polar
motion, dx/dy the celestial-pole offsets, lod_seconds the length-of-day excess — all held
fixed over the span.
Sourcepub fn rotation(&self, t: f64) -> Rotation<Gcrf, Itrf>
pub fn rotation(&self, t: f64) -> Rotation<Gcrf, Itrf>
The GCRF→ITRF rotation at propagation time t seconds.
Sourcepub fn rotation_rows(&self, t: f64) -> [[f64; 3]; 3]
pub fn rotation_rows(&self, t: f64) -> [[f64; 3]; 3]
The GCRF→ITRF rotation as row-major matrix rows at propagation time t seconds — the form a
force model’s BodyOriented closure consumes, without the caller reaching through
Rotation::matrix.
Sourcepub fn transform(&self, t: f64) -> Transform<Gcrf, Itrf>
pub fn transform(&self, t: f64) -> Transform<Gcrf, Itrf>
The full GCRF→ITRF transform (rotation and angular velocity) at propagation time t seconds.
Sourcepub fn covers(&self, t: f64) -> bool
pub fn covers(&self, t: f64) -> bool
Whether propagation time t falls inside the precomputed grid.
The grid covers the construction span plus a full stencil of margin at each end. A query outside it is still answered — from the series rather than the polynomial — so this reports which of the two paths a query would take, not whether it is allowed.