MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.UnitInfo:

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

Detailed Description

Generated from:  MR::UnitInfo

Information about a single measurement unit.

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.UnitInfo.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.UnitInfo.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.UnitInfo.__init__ ( self,
ConstUnitInfo arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.UnitInfo.__init__ ( self,
float conversionFactor,
str prettyName,
str unitSuffix )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

UnitInfo mrmeshpy.UnitInfo.assign ( self,
ConstUnitInfo other )

◆ conversionFactor() [1/2]

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.

◆ conversionFactor() [2/2]

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.

◆ unitSuffix() [1/2]

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.

◆ unitSuffix() [2/2]

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.


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