Base::UnitsSchemaInternal Class Reference

The standard units schema Here is defined what internal (base) units FreeCAD uses. More...

#include <UnitsSchemaInternal.h>

Public Member Functions

virtual QString schemaTranslate (const Base::Quantity &quant, double &factor, QString &unitString)
 This method translates the quantity in a string as the user may expect it. More...
 
- Public Member Functions inherited from Base::UnitsSchema
virtual void resetSchemaUnits ()
 If you use setSchemaUnits() you also have to impment this method to undo your changes! More...
 
virtual QString schemaTranslate (const Base::Quantity &quant, double &factor, QString &unitString)=0
 This method translates the quantity in a string as the user may expect it. More...
 
virtual void setSchemaUnits ()
 Gets called if this schema gets activated. More...
 
QString toLocale (const Base::Quantity &quant, double factor, const QString &unitString) const
 
virtual ~UnitsSchema ()
 

Detailed Description

The standard units schema Here is defined what internal (base) units FreeCAD uses.

FreeCAD uses a mm/kg/deg scala. Also it defines how the units get presented.

Member Function Documentation

◆ schemaTranslate()


The documentation for this class was generated from the following files: