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

Function Documentation

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

Overload of GetBodyPos(Real, BodyId, BodyId, Frame) that additionally rescales the result from SI units to units and applies a relativistic coordinate-scale correction (see CoordinateScale) before unit conversion.