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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::FaceMap
Aliases:  MapOrHashMap_FaceId_FaceId.Dense

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstFaceId mrmeshpy.ConstFaceMap.__getitem__ ( self,
ConstFaceId i )

◆ __iter__()

typing.Iterator[ConstFaceId] mrmeshpy.ConstFaceMap.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstFaceMap.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstFaceId mrmeshpy.ConstFaceMap.back ( self)

Reimplemented in mrmeshpy.FaceMap, and mrmeshpy.FaceMap.

◆ backId()

FaceId mrmeshpy.ConstFaceMap.backId ( self)
returns the identifier of the back() element

◆ beginId()

FaceId mrmeshpy.ConstFaceMap.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstFaceMap.capacity ( self)

◆ data()

ConstFaceId mrmeshpy.ConstFaceMap.data ( self)

Reimplemented in mrmeshpy.FaceMap, and mrmeshpy.FaceMap.

◆ empty()

bool mrmeshpy.ConstFaceMap.empty ( self)

◆ endId()

FaceId mrmeshpy.ConstFaceMap.endId ( self)
returns backId() + 1

◆ front()

ConstFaceId mrmeshpy.ConstFaceMap.front ( self)

Reimplemented in mrmeshpy.FaceMap, and mrmeshpy.FaceMap.

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstFaceMap.max_size ( self)

◆ size()

int mrmeshpy.ConstFaceMap.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.FaceMap, and mrmeshpy.FaceMap.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstFaceMap._offsetof_vec = 0
staticprotected

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