Go to the documentation of this file.
24 _meterToMilli =
enabled ? 1000 : 1;
34 return 1 / _meterToMilli;
float meterToMilli() const
Get the scaling factor for: millimeter = meter * factor.
void disable()
Set scaling of meter to millimeter to 1.
float milliToMeter() const
Get the scaling factor for: meter = millimeter * factor.
void setEnabled(bool enabled)
Enable or disable length scaling.
LengthScaling()
Constructor. Enables scaling.
void enable()
Set scaling of meter to millimeter to 1000.
This file offers overloads of toIce() and fromIce() functions for STL container types.