MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.FaceMap Class Reference

Public Member Functions

bool __eq__ (self, FaceMap b)
 
None __init__ (self)
 
None __init__ (self, int size)
 
None __init__ (self, int size, FaceId val)
 
None __init__ (self, std_vector_Id_FaceTag vec)
 
None __init__ (self, FaceMap arg0)
 
typing.Iterator __iter__ (self)
 
bool __ne__ (self, FaceMap b)
 
FaceId autoResizeAt (self, FaceId i)
 
None autoResizeSet (self, FaceId pos, int len, FaceId val)
 
None autoResizeSet (self, FaceId i, FaceId val)
 
FaceId back (self)
 
FaceId back (self)
 
FaceId backId (self)
 
FaceId beginId (self)
 
int capacity (self)
 
None clear (self)
 
FaceId data (self)
 
FaceId data (self)
 
bool empty (self)
 
FaceId endId (self)
 
FaceId front (self)
 
FaceId front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, FaceId t)
 
None push_back (self, FaceId t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize)
 
None resize (self, int newSize, FaceId t)
 
None resizeNoInit (self, int targetSize)
 
None resizeWithReserve (self, int newSize)
 
None resizeWithReserve (self, int newSize, FaceId value)
 
int size (self)
 
None swap (self, FaceMap b)
 
std_vector_Id_FaceTag vec (self)
 
None vec (self, std_vector_Id_FaceTag arg1)
 
std_vector_Id_FaceTag vec_ (self)
 
None vec_ (self, std_vector_Id_FaceTag arg1)
 

Protected Member Functions

FaceId _Subscript (self, FaceId i)
 
FaceId _Subscript (self, FaceId i)
 

Detailed Description

Generated from:  MR::FaceMap
Aliases:  Vector_TaggedBitSet_FaceTag_IndexType_TaggedBitSet_FaceTag_IndexType, Vector_FaceId_FaceId, Vector_FaceId_FaceId


 \\brief std::vector<T>-like container that requires specific indexing type,
 \\tparam T type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.FaceMap.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.FaceMap.__init__ ( self,
int size )

◆ __init__() [3/5]

None meshlib.mrmeshpy.FaceMap.__init__ ( self,
int size,
FaceId val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.FaceMap.__init__ ( self,
std_vector_Id_FaceTag vec )

◆ __init__() [5/5]

None meshlib.mrmeshpy.FaceMap.__init__ ( self,
FaceMap arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.FaceMap.__eq__ ( self,
FaceMap b )

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.FaceMap.__iter__ ( self)

◆ __ne__()

bool meshlib.mrmeshpy.FaceMap.__ne__ ( self,
FaceMap b )

◆ _Subscript() [1/2]

FaceId meshlib.mrmeshpy.FaceMap._Subscript ( self,
FaceId i )
protected

◆ _Subscript() [2/2]

FaceId meshlib.mrmeshpy.FaceMap._Subscript ( self,
FaceId i )
protected

◆ autoResizeAt()

FaceId meshlib.mrmeshpy.FaceMap.autoResizeAt ( self,
FaceId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.FaceMap.autoResizeSet ( self,
FaceId i,
FaceId val )

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.FaceMap.autoResizeSet ( self,
FaceId pos,
int len,
FaceId val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

FaceId meshlib.mrmeshpy.FaceMap.back ( self)

◆ back() [2/2]

FaceId meshlib.mrmeshpy.FaceMap.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int meshlib.mrmeshpy.FaceMap.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.FaceMap.clear ( self)

◆ data() [1/2]

FaceId meshlib.mrmeshpy.FaceMap.data ( self)

◆ data() [2/2]

FaceId meshlib.mrmeshpy.FaceMap.data ( self)

◆ empty()

bool meshlib.mrmeshpy.FaceMap.empty ( self)

◆ endId()

FaceId meshlib.mrmeshpy.FaceMap.endId ( self)
returns backId() + 1

◆ front() [1/2]

FaceId meshlib.mrmeshpy.FaceMap.front ( self)

◆ front() [2/2]

FaceId meshlib.mrmeshpy.FaceMap.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.FaceMap.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.FaceMap.push_back ( self,
FaceId t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.FaceMap.push_back ( self,
FaceId t )

◆ reserve()

None meshlib.mrmeshpy.FaceMap.reserve ( self,
int capacity )

◆ resize() [1/2]

None meshlib.mrmeshpy.FaceMap.resize ( self,
int newSize )

◆ resize() [2/2]

None meshlib.mrmeshpy.FaceMap.resize ( self,
int newSize,
FaceId t )

◆ resizeNoInit()

None meshlib.mrmeshpy.FaceMap.resizeNoInit ( self,
int targetSize )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None meshlib.mrmeshpy.FaceMap.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

None meshlib.mrmeshpy.FaceMap.resizeWithReserve ( self,
int newSize,
FaceId value )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ size()

int meshlib.mrmeshpy.FaceMap.size ( self)

◆ swap()

None meshlib.mrmeshpy.FaceMap.swap ( self,
FaceMap b )

◆ vec() [1/2]

std_vector_Id_FaceTag meshlib.mrmeshpy.FaceMap.vec ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec() [2/2]

None meshlib.mrmeshpy.FaceMap.vec ( self,
std_vector_Id_FaceTag arg1 )

◆ vec_() [1/2]

std_vector_Id_FaceTag meshlib.mrmeshpy.FaceMap.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None meshlib.mrmeshpy.FaceMap.vec_ ( self,
std_vector_Id_FaceTag arg1 )

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