Function lupnt::MoonMeToPa(const Vec6&)

Function Documentation

Vec6 lupnt::MoonMeToPa(const Vec6 &rv_me)

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

Used by ConvertFrame as the inverse of MoonPaToMe, to bring a mean-Earth/polar-frame state (e.g. a surface-station position defined in MoonMe) into the principal-axis frame before further conversion (e.g. to MoonCi via MoonPaToCi).

Note

Astrodynamics Convention & Modeling Reference, Version 1.1, Page 43

Parameters:

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

Returns:

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