|
FreeCAD C++
|
#include <Base/Unit.h>
The Unit class.
Public Member Functions | |
| Unit (int8_t Length, int8_t Mass=0, int8_t Time=0, int8_t ElectricCurrent=0, int8_t ThermodynamicTemperature=0, int8_t AmountOfSubstance=0, int8_t LuminousIntensity=0, int8_t Angle=0) | |
| default constructor | |
| ~Unit () | |
| Destruction. | |
| const UnitSignature & | getSignature (void) const |
| get the unit signature | |
| QString | getTypeString (void) const |
| get the type as an string such as "Area", "Length" or "Pressure". | |
| Unit & | operator *= (const Unit &that) |
Static Public Attributes | |
| static Unit | Length |
| Length unit. More... | |
| static Unit | Mass |
| Mass unit. | |
| static Unit | Angle |
| Angle. | |
1.8.15