Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, ConstUnitInfo arg0) |
| None | __init__ (self, float conversionFactor, str prettyName, str unitSuffix) |
| UnitInfo | assign (self, ConstUnitInfo other) |
| float | conversionFactor (self) |
| None | conversionFactor (self, float arg1) |
| str | unitSuffix (self) |
| None | unitSuffix (self, str arg1) |
| Public Member Functions inherited from mrmeshpy.ConstUnitInfo | |
| __init__ (self, *args, **kwargs) | |
| str | prettyName (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstUnitInfo | |
| typing | _offsetof_conversionFactor = 0 |
| typing | _offsetof_prettyName = 8 |
| typing | _offsetof_unitSuffix = 24 |
Generated from: MR::UnitInfo Information about a single measurement unit.
|
static |
| None mrmeshpy.UnitInfo.__init__ | ( | self | ) |
| None mrmeshpy.UnitInfo.__init__ | ( | self, | |
| ConstUnitInfo | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.UnitInfo.__init__ | ( | self, | |
| float | conversionFactor, | ||
| str | prettyName, | ||
| str | unitSuffix ) |
Implicit aggregate constructor.
| UnitInfo mrmeshpy.UnitInfo.assign | ( | self, | |
| ConstUnitInfo | other ) |
| float mrmeshpy.UnitInfo.conversionFactor | ( | self | ) |
This is used to convert between units. To convert from A to B, multiply by A's factor and divide by B's.
Reimplemented from mrmeshpy.ConstUnitInfo.
| None mrmeshpy.UnitInfo.conversionFactor | ( | self, | |
| float | arg1 ) |
This is used to convert between units. To convert from A to B, multiply by A's factor and divide by B's.
Reimplemented from mrmeshpy.ConstUnitInfo.
| str mrmeshpy.UnitInfo.unitSuffix | ( | self | ) |
The short unit name that's placed after values. This may or may not start with a space.
Reimplemented from mrmeshpy.ConstUnitInfo.
| None mrmeshpy.UnitInfo.unitSuffix | ( | self, | |
| str | arg1 ) |
The short unit name that's placed after values. This may or may not start with a space.
Reimplemented from mrmeshpy.ConstUnitInfo.