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

Function Documentation

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

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