Function lupnt::CoordinateScaleRatio¶
Defined in File constants.h
Function Documentation¶
-
double lupnt::CoordinateScaleRatio(CoordinateScale from, CoordinateScale to)¶
Ratio
CoordinateScaleFactor(to) / CoordinateScaleFactor(from)used to rescale dimensional quantities between twoCoordinateScales, or NaN if the two scales are not related by a constant factor (seeAreCoordinateScalesConvertible).- Parameters:
from – Source coordinate scale
to – Target coordinate scale
- Returns:
Scale ratio
to/from, or NaN if not convertible