Skip to main content

CioInterpolator

Struct CioInterpolator 

Source
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

Source

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.

Source

pub fn rotation(&self, t: f64) -> Rotation<Gcrf, Itrf>

The GCRF→ITRF rotation at propagation time t seconds.

Source

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.

Source

pub fn transform(&self, t: f64) -> Transform<Gcrf, Itrf>

The full GCRF→ITRF transform (rotation and angular velocity) at propagation time t seconds.

Source

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.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.