QCAD
Open Source 2D CAD
RUnit Member List

This is the complete list of members for RUnit, including all inherited members.

convert(double value, RS::Unit source, RS::Unit dest)RUnitstatic
convert(const RVector &value, RS::Unit source, RS::Unit dest)RUnitstatic
doubleToString(double value, double prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false)RUnitstatic
doubleToString(double value, int prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false)RUnitstatic
doubleToStringDec(double value, int prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false)RUnitinlinestatic
formatAngle(double angle, RS::AngleFormat format, int prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false)RUnitstatic
formatArchitectural(double length, RS::Unit unit, int prec, bool showUnit=false, bool showLeadingZeroes=true, bool showTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
formatDecimal(double length, RS::Unit unit, int prec, bool showUnit=false, bool showLeadingZeroes=true, bool showTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
formatEngineering(double length, RS::Unit unit, int prec, bool showUnit=false, bool showLeadingZeroes=true, bool showTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
formatFractional(double length, RS::Unit unit, int prec, bool showUnit=false, bool showLeadingZeroes=true, bool showTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
formatLinear(double length, RS::Unit unit, RS::LinearFormat format, int prec, bool showUnit=false, bool showLeadingZeroes=true, bool showTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
formatScientific(double length, RS::Unit unit, int prec, bool showUnit=false, bool showLeadingZeroes=true, bool showTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
getFactorToM(RS::Unit unit)RUnitstatic
getLabel(double v, RDocument &document, bool maxPrecision=false, bool forceSuppressTrailingZeroes=false, bool onlyPreciseResult=false)RUnitstatic
isMetric(RS::Unit unit)RUnitstatic
parseUnit(const QString &str)RUnitstatic
trimTrailingZeroes(const QString &s)RUnitstatic
unitToName(RS::Unit unit, bool tr=true)RUnitstatic
unitToSymbol(RS::Unit unit)RUnitstatic