Function lupnt::GetBodyPosVel(const VecX&, BodyId, BodyId, Frame, const UnitSystem&, CoordinateScale)

Function Documentation

MatX6 lupnt::GetBodyPosVel(const VecX &t_tdb, BodyId center, BodyId target, Frame frame, const UnitSystem &units, CoordinateScale scale = CoordinateScale::TDB)

Vectorized (per-epoch) overload of GetBodyPosVel(Real, BodyId, BodyId, Frame, const UnitSystem&, CoordinateScale); each row of the returned matrix is the 6-vector for the corresponding epoch in t_tdb.