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

Public Member Functions

bool __eq__ (self, ConstVector_VoxelId_FaceId b)
ConstVoxelId __getitem__ (self, ConstFaceId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[VoxelId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_VoxelId_FaceId b)
ConstVoxelId back (self)
FaceId backId (self)
FaceId beginId (self)
int capacity (self)
ConstVoxelId data (self)
bool empty (self)
FaceId 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::FaceId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

3. __init__(self: meshlib.mrmeshpy.ConstVector_VoxelId_FaceId, 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_FaceId, arg0: list) -> None

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_FaceId.__getitem__ ( self,
ConstFaceId i )

◆ __iter__()

typing.Iterator[VoxelId] mrmeshpy.ConstVector_VoxelId_FaceId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_VoxelId_FaceId.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_FaceId.back ( self)

◆ backId()

FaceId mrmeshpy.ConstVector_VoxelId_FaceId.backId ( self)
returns the identifier of the back() element

◆ beginId()

FaceId mrmeshpy.ConstVector_VoxelId_FaceId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_VoxelId_FaceId.capacity ( self)

◆ data()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_FaceId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_VoxelId_FaceId.empty ( self)

◆ endId()

FaceId mrmeshpy.ConstVector_VoxelId_FaceId.endId ( self)
returns backId() + 1

◆ front()

ConstVoxelId mrmeshpy.ConstVector_VoxelId_FaceId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_VoxelId_FaceId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_VoxelId_FaceId.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_VoxelId_FaceId, and mrmeshpy.Vector_VoxelId_FaceId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_VoxelId_FaceId._offsetof_vec = 0
staticprotected

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