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

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Generated from:  MR::Triangulation
Aliases:  Vector_ThreeVertIds_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.Triangulation.__init__ ( self)

◆ __init__() [2/5]

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

◆ __init__() [3/5]

None meshlib.mrmeshpy.Triangulation.__init__ ( self,
int size,
std_array_Id_VertTag_3 val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.Triangulation.__init__ ( self,
std_vector_std_array_Id_VertTag_3ul vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

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

◆ __iter__()

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

◆ __ne__()

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

◆ _Subscript() [1/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation._Subscript ( self,
FaceId i )
protected

◆ _Subscript() [2/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation._Subscript ( self,
FaceId i )
protected

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

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

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation.back ( self)

◆ back() [2/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int meshlib.mrmeshpy.Triangulation.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Triangulation.clear ( self)

◆ data() [1/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation.data ( self)

◆ data() [2/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Triangulation.empty ( self)

◆ endId()

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

◆ front() [1/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation.front ( self)

◆ front() [2/2]

std_array_Id_VertTag_3 meshlib.mrmeshpy.Triangulation.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Triangulation.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Triangulation.push_back ( self,
std_array_Id_VertTag_3 t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Triangulation.push_back ( self,
std_array_Id_VertTag_3 t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None meshlib.mrmeshpy.Triangulation.resize ( self,
int newSize,
std_array_Id_VertTag_3 t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int meshlib.mrmeshpy.Triangulation.size ( self)

◆ swap()

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

◆ vec() [1/2]

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

◆ vec() [2/2]

None meshlib.mrmeshpy.Triangulation.vec ( self,
std_vector_std_array_Id_VertTag_3ul arg1 )

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None meshlib.mrmeshpy.Triangulation.vec_ ( self,
std_vector_std_array_Id_VertTag_3ul arg1 )

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