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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::VertMap
Aliases:  MapOrHashMap_VertId_VertId.Dense

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstVertId mrmeshpy.ConstVertMap.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[ConstVertId] mrmeshpy.ConstVertMap.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVertMap.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstVertId mrmeshpy.ConstVertMap.back ( self)

Reimplemented in mrmeshpy.VertMap, and mrmeshpy.VertMap.

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstVertMap.capacity ( self)

◆ data()

ConstVertId mrmeshpy.ConstVertMap.data ( self)

Reimplemented in mrmeshpy.VertMap, and mrmeshpy.VertMap.

◆ empty()

bool mrmeshpy.ConstVertMap.empty ( self)

◆ endId()

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

◆ front()

ConstVertId mrmeshpy.ConstVertMap.front ( self)

Reimplemented in mrmeshpy.VertMap, and mrmeshpy.VertMap.

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVertMap.max_size ( self)

◆ size()

int mrmeshpy.ConstVertMap.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.VertMap, and mrmeshpy.VertMap.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVertMap._offsetof_vec = 0
staticprotected

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