Function lupnt::GetPhysicalConstants(const UnitSystem&, CoordinateScale)

Function Documentation

inline PhysicalConstants lupnt::GetPhysicalConstants(const UnitSystem &units, CoordinateScale scale)

Overload of GetPhysicalConstants that additionally rescales the result from the default CoordinateScale::TDB to scale via ScalePhysicalConstantsForCoordinateScale.

Throws:

std::invalid_argument – if scale is not related to TDB by a constant scale factor