Function lupnt::RtnMatrix

Function Documentation

inline Mat3d lupnt::RtnMatrix(const Vec6d &rv)

Radial-Transverse-Normal (RTN) rotation matrix at Cartesian state rv (position rv.head(3), velocity rv.tail(3)): rows are the unit vectors R (radial, along position), T (transverse, completes the right-handed triad), N (orbit-normal, along r x v). v_rtn = RtnMatrix(rv) * v_inertial.