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