MeshLib Documentation
Loading...
Searching...
No Matches
MRUnitSettings.h File Reference
#include "exports.h"
#include "MRUnits.h"

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::UnitSettings
 

Functions

MRVIEWER_API void MR::UnitSettings::resetToDefaults ()
 
MRVIEWER_API bool MR::UnitSettings::getShowLeadingZero ()
 
MRVIEWER_API void MR::UnitSettings::setShowLeadingZero (bool show)
 
MRVIEWER_API char MR::UnitSettings::getThousandsSeparator ()
 
void MR::UnitSettings::setThousandsSeparator (char ch)
 
MRVIEWER_API std::optional< LengthUnitMR::UnitSettings::getUiLengthUnit ()
 
MRVIEWER_API void MR::UnitSettings::setUiLengthUnit (std::optional< LengthUnit > unit, bool setPreferredLeadingZero)
 
MRVIEWER_API DegreesMode MR::UnitSettings::getDegreesMode ()
 
MRVIEWER_API void MR::UnitSettings::setDegreesMode (DegreesMode mode, bool setPreferredPrecision)
 
MRVIEWER_API int MR::UnitSettings::getUiLengthPrecision ()
 
MRVIEWER_API void MR::UnitSettings::setUiLengthPrecision (int precision)
 
MRVIEWER_API int MR::UnitSettings::getUiAnglePrecision ()
 
MRVIEWER_API void MR::UnitSettings::setUiAnglePrecision (int precision)