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

Public Member Functions

bool __eq__ (self, ConstEdgeMap b)
ConstEdgeId __getitem__ (self, ConstEdgeId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstEdgeId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstEdgeMap b)
ConstEdgeId back (self)
EdgeId backId (self)
EdgeId beginId (self)
int capacity (self)
ConstEdgeId data (self)
bool empty (self)
EdgeId 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::EdgeMap
Aliases:  MapOrHashMap_Id_EdgeTag_Id_EdgeTag_Dense

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstEdgeId mrmeshpy.ConstEdgeMap.__getitem__ ( self,
ConstEdgeId i )

◆ __iter__()

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

◆ __len__()

int mrmeshpy.ConstEdgeMap.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstEdgeId mrmeshpy.ConstEdgeMap.back ( self)

Reimplemented in mrmeshpy.EdgeMap, and mrmeshpy.EdgeMap.

◆ backId()

EdgeId mrmeshpy.ConstEdgeMap.backId ( self)
returns the identifier of the back() element

◆ beginId()

EdgeId mrmeshpy.ConstEdgeMap.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstEdgeMap.capacity ( self)

◆ data()

ConstEdgeId mrmeshpy.ConstEdgeMap.data ( self)

Reimplemented in mrmeshpy.EdgeMap, and mrmeshpy.EdgeMap.

◆ empty()

bool mrmeshpy.ConstEdgeMap.empty ( self)

◆ endId()

EdgeId mrmeshpy.ConstEdgeMap.endId ( self)
returns backId() + 1

◆ front()

ConstEdgeId mrmeshpy.ConstEdgeMap.front ( self)

Reimplemented in mrmeshpy.EdgeMap, and mrmeshpy.EdgeMap.

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstEdgeMap.max_size ( self)

◆ size()

int mrmeshpy.ConstEdgeMap.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.EdgeMap, and mrmeshpy.EdgeMap.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstEdgeMap._offsetof_vec = 0
staticprotected

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