MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstVoxelLocation Class Reference
Inheritance diagram for mrmeshpy.ConstVoxelLocation:

Public Member Functions

bool __bool__ (self)
 __init__ (self, *args, **kwargs)
ConstVoxelId id (self)
ConstVector3i pos (self)

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__()

mrmeshpy.ConstVoxelLocation.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVoxelLocation) -> None

2. __init__(self: meshlib.mrmeshpy.ConstVoxelLocation, arg0: meshlib.mrmeshpy.ConstVoxelLocation) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstVoxelLocation, id: meshlib.mrmeshpy.ConstVoxelId, pos: meshlib.mrmeshpy.ConstVector3i) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstVoxelLocation, : meshlib.mrmeshpy.ConstVoxelLocation) -> None

Member Function Documentation

◆ __bool__()

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

◆ id()

ConstVoxelId mrmeshpy.ConstVoxelLocation.id ( self)

◆ pos()

ConstVector3i mrmeshpy.ConstVoxelLocation.pos ( self)

Member Data Documentation

◆ _offsetof_id

typing mrmeshpy.ConstVoxelLocation._offsetof_id = 0
staticprotected

◆ _offsetof_pos

typing mrmeshpy.ConstVoxelLocation._offsetof_pos = 8
staticprotected

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