Function lupnt::MoonPaToMe(const Vec6&)

Function Documentation

Vec6 lupnt::MoonPaToMe(const Vec6 &rv_pa)

Converts a state vector from MoonPa (Moon-fixed principal axes) to MoonMe (Moon-fixed mean-Earth/polar axes) by applying the constant IAU principal-axis-to-mean-Earth bias rotation.

Used by ConvertFrame (and directly after MoonCiToPa for MoonCi->MoonMe) to express lunar surface/body-fixed states in the mean-Earth/polar frame commonly used for lunar cartography and surface-station coordinates. Like GcrfToEme, this is a fixed (time-independent) bias rotation, so no epoch is needed.

Note

Astrodynamics Convention & Modeling Reference, Version 1.1, Page 43

Parameters:

rv_pa – Position+velocity in MoonPa (Moon-fixed principal axes) [m, m/s]

Returns:

Position+velocity in MoonMe (Moon-fixed mean-Earth/polar axes) [m, m/s]