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

Public Member Functions

bool __bool__ (self)
 
None __init__ (self)
 
None __init__ (self, Id_VoxelTag id, Vector3i pos)
 

Static Public Member Functions

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

Static Protected Attributes

typing _offsetof_id = 0
 
typing _offsetof_pos = 8
 

Detailed Description

Generated from:  MR::VoxelLocation

contains both linear Id and 3D coordinates of the same voxel

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.VoxelLocation.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.VoxelLocation.__init__ ( self,
Id_VoxelTag id,
Vector3i pos )
Implicit aggregate constructor.

Member Function Documentation

◆ __bool__()

bool mrmeshpy.VoxelLocation.__bool__ ( self)
check for validity

◆ operator() [1/2]

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

◆ operator() [2/2]

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

Member Data Documentation

◆ _offsetof_id

typing mrmeshpy.VoxelLocation._offsetof_id = 0
staticprotected

◆ _offsetof_pos

typing mrmeshpy.VoxelLocation._offsetof_pos = 8
staticprotected

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