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

Public Member Functions

ConstNoDefInit_VoxelId __getitem__ (self, ConstVoxelId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[NoDefInit_VoxelId] __iter__ (self)
VoxelId backId (self)
VoxelId beginId (self)
int capacity (self)
NoDefInit_VoxelId data (self)
bool empty (self)
VoxelId endId (self)
int heapBytes (self)
int size (self)

Detailed Description

Generated from:  MR::Buffer<MR::VoxelId, MR::VoxelId>
Aliases:  Buffer_Id_VoxelTag_Id_VoxelTag, Buffer_Id_VoxelTag_Id_VoxelTag, Buffer_Id_VoxelTag_Id_VoxelTag

\\brief std::vector<V>-like container that is
 1) resized without initialization of its elements,
 2) much simplified: no push_back and many other methods
\\tparam V type of stored elements
\\tparam I type of index (shall be convertible to size_t)

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Member Function Documentation

◆ __getitem__()

ConstNoDefInit_VoxelId mrmeshpy.ConstBuffer_VoxelId_VoxelId.__getitem__ ( self,
ConstVoxelId i )

◆ __iter__()

typing.Iterator[NoDefInit_VoxelId] mrmeshpy.ConstBuffer_VoxelId_VoxelId.__iter__ ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstBuffer_VoxelId_VoxelId.capacity ( self)

◆ data()

NoDefInit_VoxelId mrmeshpy.ConstBuffer_VoxelId_VoxelId.data ( self)

◆ empty()

bool mrmeshpy.ConstBuffer_VoxelId_VoxelId.empty ( self)

◆ endId()

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

◆ heapBytes()

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

◆ size()

int mrmeshpy.ConstBuffer_VoxelId_VoxelId.size ( self)

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