Function lupnt::RotBodyCiToFixed

Function Documentation

Mat3 lupnt::RotBodyCiToFixed(Real t_tdb, BodyId body, Mat3 *R_dot = nullptr)

Rotation matrix from a planet-centered inertial frame (ICRF-aligned) to that planet’s body-fixed frame at t_tdb, from the IAU linear orientation model. If R_dot is non-null it receives the exact time derivative (used to rotate velocities), dominated by the prime-meridian spin rate.

Parameters:
  • t_tdb – Epoch [s, TDB since J2000]

  • body – Planet body id (Mercury..Neptune)

  • R_dot – Optional out: d/dt of the rotation matrix [1/s]