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

Public Member Functions

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

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Triangulation

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

Const_std_array_Id_VertTag_3 mrmeshpy.ConstTriangulation.__getitem__ ( self,
ConstFaceId i )

◆ __iter__()

typing.Iterator[Const_std_array_Id_VertTag_3] mrmeshpy.ConstTriangulation.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstTriangulation.__len__ ( self)

◆ __ne__()

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

◆ back()

Const_std_array_Id_VertTag_3 mrmeshpy.ConstTriangulation.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.ConstTriangulation.capacity ( self)

◆ data()

Const_std_array_Id_VertTag_3 mrmeshpy.ConstTriangulation.data ( self)

◆ empty()

bool mrmeshpy.ConstTriangulation.empty ( self)

◆ endId()

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

◆ front()

Const_std_array_Id_VertTag_3 mrmeshpy.ConstTriangulation.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstTriangulation.max_size ( self)

◆ size()

int mrmeshpy.ConstTriangulation.size ( self)

◆ vec()

The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Triangulation, and mrmeshpy.Triangulation.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstTriangulation._offsetof_vec = 0
staticprotected

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