Public Member Functions | |
| bool | __eq__ (self, typing.Any other) |
| int | __getstate__ (self) |
| int | __hash__ (self) |
| int | __index__ (self) |
| None | __init__ (self, int value) |
| int | __int__ (self) |
| bool | __ne__ (self, typing.Any other) |
| str | __repr__ (self) |
| None | __setstate__ (self, int state) |
| str | __str__ (self) |
| str | name (self) |
| int | value (self) |
Static Public Attributes | |
| typing | factor .ClassVar[RatioUnit] |
| typing | percents .ClassVar[RatioUnit] |
Static Protected Attributes | |
| typing | _count .ClassVar[RatioUnit] |
Members: factor : 0..1 x percents : 0..100 % _count
| None mrmeshpy.RatioUnit.__init__ | ( | self, | |
| int | value ) |
| bool mrmeshpy.RatioUnit.__eq__ | ( | self, | |
| typing.Any | other ) |
| int mrmeshpy.RatioUnit.__getstate__ | ( | self | ) |
| int mrmeshpy.RatioUnit.__hash__ | ( | self | ) |
| int mrmeshpy.RatioUnit.__index__ | ( | self | ) |
| int mrmeshpy.RatioUnit.__int__ | ( | self | ) |
| bool mrmeshpy.RatioUnit.__ne__ | ( | self, | |
| typing.Any | other ) |
| str mrmeshpy.RatioUnit.__repr__ | ( | self | ) |
| None mrmeshpy.RatioUnit.__setstate__ | ( | self, | |
| int | state ) |
| str mrmeshpy.RatioUnit.__str__ | ( | self | ) |
| str mrmeshpy.RatioUnit.name | ( | self | ) |
| int mrmeshpy.RatioUnit.value | ( | self | ) |
|
staticprotected |
|
static |
|
static |