Function lupnt::ScaleLengthForCoordinateScaleChecked¶
Defined in File constants.h
Function Documentation¶
-
inline double lupnt::ScaleLengthForCoordinateScaleChecked(double value, CoordinateScale from, CoordinateScale to)¶
Rescale a length-dimensioned value from one
CoordinateScaleto another.- Throws:
std::invalid_argument – if the scales are not related by a constant factor (see
CheckedCoordinateScaleRatio)