Public Member Functions | |
| Vector3i | __call__ (self, ConstVector3d p) |
| Vector3i | __call__ (self, ConstVector3f p) |
| __init__ (self, *args, **kwargs) | |
| int | scaleOnly (self, float v) |
| ConstVector3d | center (self) |
| float | invRange (self) |
Static Protected Attributes | |
| typing | _offsetof_center = 0 |
| typing | _offsetof_invRange = 24 |
Generated from: MR::ConvertToIntVector translate then scale float-to-int coordinate converter
| mrmeshpy.ConstConvertToIntVector.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstConvertToIntVector) -> None 2. __init__(self: meshlib.mrmeshpy.ConstConvertToIntVector, arg0: meshlib.mrmeshpy.ConstConvertToIntVector) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstConvertToIntVector, center: meshlib.mrmeshpy.ConstVector3d, invRange: float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstConvertToIntVector, : meshlib.mrmeshpy.ConstConvertToIntVector) -> None
| Vector3i mrmeshpy.ConstConvertToIntVector.__call__ | ( | self, | |
| ConstVector3d | p ) |
double-to-int coordinates converter
| Vector3i mrmeshpy.ConstConvertToIntVector.__call__ | ( | self, | |
| ConstVector3f | p ) |
float-to-int coordinates converter
| ConstVector3d mrmeshpy.ConstConvertToIntVector.center | ( | self | ) |
Reimplemented in mrmeshpy.ConvertToIntVector, and mrmeshpy.ConvertToIntVector.
| float mrmeshpy.ConstConvertToIntVector.invRange | ( | self | ) |
| int mrmeshpy.ConstConvertToIntVector.scaleOnly | ( | self, | |
| float | v ) |
applies scaling only (without translation) with the following rounding to the nearest int
|
staticprotected |
|
staticprotected |