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, char decimalSeparator=RDEFAULT_DOT)RUnitstatic
doubleToString(double value, int prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false, char decimalSeparator=RDEFAULT_DOT)RUnitstatic
doubleToStringDec(double value, int prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false, char decimalSeparator=RDEFAULT_DOT)RUnitinlinestatic
formatAngle(double angle, RS::AngleFormat format, int prec, bool showLeadingZeroes=true, bool showTrailingZeroes=false, char decimalSeparator=RDEFAULT_DOT)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, char decimalSeparator=RDEFAULT_DOT)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, char decimalSeparator=RDEFAULT_DOT)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, int precisionOverride=RDEFAULT_MIN1, bool forceSuppressTrailingZeroes=false, bool onlyPreciseResult=false, char decimalSeparator=RDEFAULT_DOT)RUnitstatic
isMetric(RS::Unit unit)RUnitstatic
parseUnit(const QString &str)RUnitstatic
unitToName(RS::Unit unit, bool tr=true)RUnitstatic
unitToSymbol(RS::Unit unit, bool asText=false)RUnitstatic