MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

Vector3i __call__ (self, Vector3d p)
Vector3i __call__ (self, Vector3f p)
None __init__ (self)
None __init__ (self, ConvertToIntVector arg0)
None __init__ (self, Vector3d center, float invRange)
int scaleOnly (self, float v)

Static Public Member Functions

None __init__ (*args, **kwargs)
ConvertToIntVector operator (*args, **kwargs)
ConvertToIntVector operator (*args, **kwargs)

Static Protected Attributes

typing _offsetof_center = 0
typing _offsetof_invRange = 24

Detailed Description

Generated from:  MR::ConvertToIntVector

translate then scale float-to-int coordinate converter

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.ConvertToIntVector.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.ConvertToIntVector.__init__ ( self,
Vector3d center,
float invRange )
Implicit aggregate constructor.

Member Function Documentation

◆ __call__() [1/2]

Vector3i mrmeshpy.ConvertToIntVector.__call__ ( self,
Vector3d p )
double-to-int coordinates converter

◆ __call__() [2/2]

Vector3i mrmeshpy.ConvertToIntVector.__call__ ( self,
Vector3f p )
float-to-int coordinates converter

◆ operator() [1/2]

ConvertToIntVector mrmeshpy.ConvertToIntVector.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

ConvertToIntVector mrmeshpy.ConvertToIntVector.operator ( * args,
** kwargs )
static

◆ scaleOnly()

int mrmeshpy.ConvertToIntVector.scaleOnly ( self,
float v )
applies scaling only (without translation) with the following rounding to the nearest int

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.ConvertToIntVector._offsetof_center = 0
staticprotected

◆ _offsetof_invRange

typing mrmeshpy.ConvertToIntVector._offsetof_invRange = 24
staticprotected

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