Function lupnt::RotPosInertialToBodyFixed

Function Documentation

Mat3 lupnt::RotPosInertialToBodyFixed(BodyId id, Real t_tdb)

Compute the 3x3 rotation matrix from the inertial frame to the body-fixed frame.

Parameters:
  • id – Naif ID of the planet

  • t_tdb – Terrestrial Time (TDB) in seconds since J2000

Returns:

Rotation matrix from the inertial frame to the body-fixed frame