MeshLib
 
Loading...
Searching...
No Matches
MR::UnitSettings Namespace Reference

Functions

MRVIEWER_API bool getShowLeadingZero ()
 
MRVIEWER_API void setShowLeadingZero (bool show)
 
MRVIEWER_API char getThousandsSeparator (bool fractional)
 
void setThousandsSeparator (char ch, bool fractional)
 
MRVIEWER_API std::optional< LengthUnitgetUiLengthUnit ()
 
MRVIEWER_API void setUiLengthUnit (std::optional< LengthUnit > unit)
 
MRVIEWER_API DegreesMode getDegreesMode ()
 
MRVIEWER_API void setDegreesMode (DegreesMode mode)
 
MRVIEWER_API int getUiLengthPrecision ()
 
MRVIEWER_API void setUiLengthPrecision (int precision)
 
MRVIEWER_API int getUiAnglePrecision ()
 
MRVIEWER_API void setUiAnglePrecision (int precision)
 

Function Documentation

◆ getDegreesMode()

MRVIEWER_API DegreesMode MR::UnitSettings::getDegreesMode ( )
nodiscard

◆ getShowLeadingZero()

MRVIEWER_API bool MR::UnitSettings::getShowLeadingZero ( )
nodiscard

◆ getThousandsSeparator()

MRVIEWER_API char MR::UnitSettings::getThousandsSeparator ( bool fractional)
nodiscard

◆ getUiAnglePrecision()

MRVIEWER_API int MR::UnitSettings::getUiAnglePrecision ( )
nodiscard

◆ getUiLengthPrecision()

MRVIEWER_API int MR::UnitSettings::getUiLengthPrecision ( )
nodiscard

◆ getUiLengthUnit()

MRVIEWER_API std::optional< LengthUnit > MR::UnitSettings::getUiLengthUnit ( )
nodiscard

◆ setDegreesMode()

MRVIEWER_API void MR::UnitSettings::setDegreesMode ( DegreesMode mode)

◆ setShowLeadingZero()

MRVIEWER_API void MR::UnitSettings::setShowLeadingZero ( bool show)

◆ setThousandsSeparator()

void MR::UnitSettings::setThousandsSeparator ( char ch,
bool fractional )

◆ setUiAnglePrecision()

MRVIEWER_API void MR::UnitSettings::setUiAnglePrecision ( int precision)

◆ setUiLengthPrecision()

MRVIEWER_API void MR::UnitSettings::setUiLengthPrecision ( int precision)

◆ setUiLengthUnit()

MRVIEWER_API void MR::UnitSettings::setUiLengthUnit ( std::optional< LengthUnit > unit)