MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.RatioUnit Class Reference

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]
 

Detailed Description

Members:

  factor : 0..1 x

  percents : 0..100 %

  _count

Constructor & Destructor Documentation

◆ __init__()

None mrmeshpy.RatioUnit.__init__ ( self,
int value )

Member Function Documentation

◆ __eq__()

bool mrmeshpy.RatioUnit.__eq__ ( self,
typing.Any other )

◆ __getstate__()

int mrmeshpy.RatioUnit.__getstate__ ( self)

◆ __hash__()

int mrmeshpy.RatioUnit.__hash__ ( self)

◆ __index__()

int mrmeshpy.RatioUnit.__index__ ( self)

◆ __int__()

int mrmeshpy.RatioUnit.__int__ ( self)

◆ __ne__()

bool mrmeshpy.RatioUnit.__ne__ ( self,
typing.Any other )

◆ __repr__()

str mrmeshpy.RatioUnit.__repr__ ( self)

◆ __setstate__()

None mrmeshpy.RatioUnit.__setstate__ ( self,
int state )

◆ __str__()

str mrmeshpy.RatioUnit.__str__ ( self)

◆ name()

str mrmeshpy.RatioUnit.name ( self)

◆ value()

int mrmeshpy.RatioUnit.value ( self)

Member Data Documentation

◆ _count

typing mrmeshpy.RatioUnit._count .ClassVar[RatioUnit]
staticprotected

◆ factor

typing mrmeshpy.RatioUnit.factor .ClassVar[RatioUnit]
static

◆ percents

typing mrmeshpy.RatioUnit.percents .ClassVar[RatioUnit]
static

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