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

Public Member Functions

bool __eq__ (self, ConstVector_VoxelId_VoxelId b)
ConstVoxelId __getitem__ (self, ConstVoxelId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstVoxelId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_VoxelId_VoxelId b)
ConstVoxelId back (self)
VoxelId backId (self)
VoxelId beginId (self)
int capacity (self)
ConstVoxelId data (self)
bool empty (self)
VoxelId endId (self)
ConstVoxelId front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_Id_VoxelTag_Allocator_Id_VoxelTag vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::VoxelId, MR::VoxelId>
Aliases:  Vector_Id_VoxelTag_Id_VoxelTag, Vector_Id_VoxelTag_Id_VoxelTag, Vector_Id_VoxelTag_Id_VoxelTag, Vector_TypedBitSet_Id_VoxelTag_IndexType_TypedBitSet_Id_VoxelTag_IndexType

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

2. __init__(self: meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId, size: int) -> None

creates a vector with \\p size elements with default value

3. __init__(self: meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId, size: int, val: meshlib.mrmeshpy.ConstVoxelId) -> None

creates a vector with \\p size elements with the given value

4. __init__(self: meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId, arg0: list) -> None

5. __init__(self: meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId, arg0: meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId, : meshlib.mrmeshpy.ConstVector_VoxelId_VoxelId) -> None

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ConstVector_VoxelId_VoxelId.__eq__ ( self,
ConstVector_VoxelId_VoxelId b )

◆ __getitem__()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.__getitem__ ( self,
ConstVoxelId i )

◆ __iter__()

typing.Iterator[ConstVoxelId] mrmeshpy.ConstVector_VoxelId_VoxelId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_VoxelId_VoxelId.__len__ ( self)

◆ __ne__()

bool mrmeshpy.ConstVector_VoxelId_VoxelId.__ne__ ( self,
ConstVector_VoxelId_VoxelId b )

◆ back()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.back ( self)

◆ backId()

VoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.backId ( self)
returns the identifier of the back() element

◆ beginId()

VoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_VoxelId_VoxelId.capacity ( self)

◆ data()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_VoxelId_VoxelId.empty ( self)

◆ endId()

VoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.endId ( self)
returns backId() + 1

◆ front()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_VoxelId.front ( self)

◆ heapBytes()

int mrmeshpy.ConstVector_VoxelId_VoxelId.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ max_size()

int mrmeshpy.ConstVector_VoxelId_VoxelId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_VoxelId_VoxelId.size ( self)

◆ vec()

Const_std_vector_Id_VoxelTag_Allocator_Id_VoxelTag mrmeshpy.ConstVector_VoxelId_VoxelId.vec ( self)
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Vector_VoxelId_VoxelId, and mrmeshpy.Vector_VoxelId_VoxelId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_VoxelId_VoxelId._offsetof_vec = 0
staticprotected

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