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

Public Member Functions

bool __eq__ (self, ConstVector_EdgeId_VertId b)
ConstEdgeId __getitem__ (self, ConstVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstEdgeId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_EdgeId_VertId b)
ConstEdgeId back (self)
VertId backId (self)
VertId beginId (self)
int capacity (self)
ConstEdgeId data (self)
bool empty (self)
VertId endId (self)
ConstEdgeId front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_Id_EdgeTag_Allocator_Id_EdgeTag vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::EdgeId, MR::VertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstEdgeId mrmeshpy.ConstVector_EdgeId_VertId.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[ConstEdgeId] mrmeshpy.ConstVector_EdgeId_VertId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_EdgeId_VertId.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstEdgeId mrmeshpy.ConstVector_EdgeId_VertId.back ( self)

◆ backId()

VertId mrmeshpy.ConstVector_EdgeId_VertId.backId ( self)
returns the identifier of the back() element

◆ beginId()

VertId mrmeshpy.ConstVector_EdgeId_VertId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_EdgeId_VertId.capacity ( self)

◆ data()

ConstEdgeId mrmeshpy.ConstVector_EdgeId_VertId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_EdgeId_VertId.empty ( self)

◆ endId()

VertId mrmeshpy.ConstVector_EdgeId_VertId.endId ( self)
returns backId() + 1

◆ front()

ConstEdgeId mrmeshpy.ConstVector_EdgeId_VertId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_EdgeId_VertId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_EdgeId_VertId.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_EdgeId_VertId, and mrmeshpy.Vector_EdgeId_VertId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_EdgeId_VertId._offsetof_vec = 0
staticprotected

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