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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<unsigned short, MR::VoxelId>
Aliases:  Vector_unsigned_short_Id_VoxelTag, Vector_unsigned_short_Id_VoxelTag, Vector_unsigned_short_Id_VoxelTag

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.__getitem__ ( self,
ConstVoxelId i )

◆ __iter__()

typing.Iterator[int] mrmeshpy.ConstVector_unsigned_short_VoxelId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.__len__ ( self)

◆ __ne__()

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

◆ back()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.capacity ( self)

◆ data()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_unsigned_short_VoxelId.empty ( self)

◆ endId()

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

◆ front()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_unsigned_short_VoxelId.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_unsigned_short_VoxelId, and mrmeshpy.Vector_unsigned_short_VoxelId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_unsigned_short_VoxelId._offsetof_vec = 0
staticprotected

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