pub trait EarthOrientationProvider: Send + Sync {
// Required method
fn orientation_at_tdb_seconds(
&self,
epoch_tdb_seconds: f64,
) -> Result<EarthOrientation, FrameTransformError>;
}Expand description
Supplies Earth orientation at a propagator integration epoch.
Force models that need body-fixed coordinates can request this provider from
crate::astro::propagator::PropagationContext. The default propagation
context carries no provider, so existing forces do not change behavior.
Required Methods§
Sourcefn orientation_at_tdb_seconds(
&self,
epoch_tdb_seconds: f64,
) -> Result<EarthOrientation, FrameTransformError>
fn orientation_at_tdb_seconds( &self, epoch_tdb_seconds: f64, ) -> Result<EarthOrientation, FrameTransformError>
Evaluate Earth orientation at absolute TDB seconds since J2000.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".