Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| float | conversionFactor (self) |
| str | prettyName (self) |
| str | unitSuffix (self) |
Static Protected Attributes | |
| typing | _offsetof_conversionFactor = 0 |
| typing | _offsetof_prettyName = 8 |
| typing | _offsetof_unitSuffix = 24 |
Generated from: MR::UnitInfo Information about a single measurement unit.
| mrmeshpy.ConstUnitInfo.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstUnitInfo) -> None 2. __init__(self: meshlib.mrmeshpy.ConstUnitInfo, arg0: meshlib.mrmeshpy.ConstUnitInfo) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstUnitInfo, conversionFactor: float, prettyName: str, unitSuffix: str) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstUnitInfo, : meshlib.mrmeshpy.ConstUnitInfo) -> None
| float mrmeshpy.ConstUnitInfo.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 in mrmeshpy.UnitInfo, and mrmeshpy.UnitInfo.
| str mrmeshpy.ConstUnitInfo.prettyName | ( | self | ) |
| str mrmeshpy.ConstUnitInfo.unitSuffix | ( | self | ) |
The short unit name that's placed after values. This may or may not start with a space.
Reimplemented in mrmeshpy.UnitInfo, and mrmeshpy.UnitInfo.
|
staticprotected |
|
staticprotected |
|
staticprotected |