Function lupnt::IcrfToGcrf(Real, const Vec6&)

Function Documentation

Vec6 lupnt::IcrfToGcrf(Real t_tdb, const Vec6 &rv_icrf)

Converts a state vector from ICRF (solar-system-barycenter-centered) to GCRF (Earth-centered), by subtracting the Earth’s barycentric position/velocity at t_tdb.

Used by ConvertFrame when converting a barycentric ICRF state into the Earth-centered GCRF hub frame.

Note

Astrodynamics Convention & Modeling Reference, Version 1.1, Page 40

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

  • rv_icrf – Position+velocity in ICRF (solar-system-barycenter-centered) [m, m/s]

Returns:

Position+velocity in GCRF (Earth-centered) [m, m/s]