MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.Triangulation:

Public Member Functions

ThreeVertIds __getitem__ (self, ConstFaceId i)
ConstThreeVertIds __getitem__ (ConstTriangulation self, ConstFaceId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstThreeVertIds val)
None __init__ (self, list arg0)
None __init__ (self, ConstTriangulation arg0)
typing.Iterator[ThreeVertIds] __iter__ (self)
typing.Iterator[ThreeVertIds] __iter__ (ConstTriangulation self)
None __setitem__ (self, ConstFaceId arg0, ConstThreeVertIds arg1)
Triangulation assign (self, ConstTriangulation other)
None assign (self, int count, ConstThreeVertIds val)
ThreeVertIds autoResizeAt (self, ConstFaceId i)
None autoResizeSet (self, ConstFaceId pos, int len, ConstThreeVertIds val)
None autoResizeSet (self, ConstFaceId i, ConstThreeVertIds val)
ThreeVertIds back (self)
ConstThreeVertIds back (ConstTriangulation self)
None clear (self)
ThreeVertIds data (self)
ConstThreeVertIds data (ConstTriangulation self)
ThreeVertIds front (self)
ConstThreeVertIds front (ConstTriangulation self)
None pop_back (self)
None push_back (self, ConstThreeVertIds t)
None push_back (self, ThreeVertIds t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstThreeVertIds t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstThreeVertIds value)
None shrink_to_fit (self)
None swap (self, Triangulation b)
std_vector_ThreeVertIds_Allocator_ThreeVertIds vec (self)
None vec (self, Const_std_vector_ThreeVertIds_Allocator_ThreeVertIds arg1)
Public Member Functions inherited from mrmeshpy.ConstTriangulation
bool __eq__ (self, ConstTriangulation b)
ConstThreeVertIds __getitem__ (self, ConstFaceId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ThreeVertIds] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstTriangulation b)
FaceId backId (self)
FaceId beginId (self)
int capacity (self)
bool empty (self)
FaceId endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstTriangulation
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Triangulation

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.Triangulation.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.Triangulation.__init__ ( self)
creates empty vector

◆ __init__() [3/6]

None mrmeshpy.Triangulation.__init__ ( self,
int size )
creates a vector with \\p size elements with default value

◆ __init__() [4/6]

None mrmeshpy.Triangulation.__init__ ( self,
int size,
ConstThreeVertIds val )
creates a vector with \\p size elements with the given value

◆ __init__() [5/6]

None mrmeshpy.Triangulation.__init__ ( self,
list arg0 )

◆ __init__() [6/6]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstThreeVertIds mrmeshpy.Triangulation.__getitem__ ( ConstTriangulation self,
ConstFaceId i )

◆ __getitem__() [2/2]

ThreeVertIds mrmeshpy.Triangulation.__getitem__ ( self,
ConstFaceId i )

◆ __iter__() [1/2]

typing.Iterator[ThreeVertIds] mrmeshpy.Triangulation.__iter__ ( ConstTriangulation self)

◆ __iter__() [2/2]

typing.Iterator[ThreeVertIds] mrmeshpy.Triangulation.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Triangulation.__setitem__ ( self,
ConstFaceId arg0,
ConstThreeVertIds arg1 )

◆ assign() [1/2]

Triangulation mrmeshpy.Triangulation.assign ( self,
ConstTriangulation other )

◆ assign() [2/2]

None mrmeshpy.Triangulation.assign ( self,
int count,
ConstThreeVertIds val )
replaces the contents with \\p count copies of \\p val

◆ autoResizeAt()

ThreeVertIds mrmeshpy.Triangulation.autoResizeAt ( self,
ConstFaceId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Triangulation.autoResizeSet ( self,
ConstFaceId i,
ConstThreeVertIds val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.Triangulation.autoResizeSet ( self,
ConstFaceId pos,
int len,
ConstThreeVertIds val )
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements;
the elements in between old size and \\p pos are also set to \\p val (for faster implementation)

◆ back() [1/2]

ConstThreeVertIds mrmeshpy.Triangulation.back ( ConstTriangulation self)

Reimplemented from mrmeshpy.ConstTriangulation.

◆ back() [2/2]

ThreeVertIds mrmeshpy.Triangulation.back ( self)

Reimplemented from mrmeshpy.ConstTriangulation.

◆ clear()

None mrmeshpy.Triangulation.clear ( self)

◆ data() [1/2]

ConstThreeVertIds mrmeshpy.Triangulation.data ( ConstTriangulation self)

Reimplemented from mrmeshpy.ConstTriangulation.

◆ data() [2/2]

ThreeVertIds mrmeshpy.Triangulation.data ( self)

Reimplemented from mrmeshpy.ConstTriangulation.

◆ front() [1/2]

ConstThreeVertIds mrmeshpy.Triangulation.front ( ConstTriangulation self)

Reimplemented from mrmeshpy.ConstTriangulation.

◆ front() [2/2]

ThreeVertIds mrmeshpy.Triangulation.front ( self)

Reimplemented from mrmeshpy.ConstTriangulation.

◆ pop_back()

None mrmeshpy.Triangulation.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Triangulation.push_back ( self,
ConstThreeVertIds t )

◆ push_back() [2/2]

None mrmeshpy.Triangulation.push_back ( self,
ThreeVertIds t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeNoInit()

None mrmeshpy.Triangulation.resizeNoInit ( self,
int targetSize,
ReserveMode mode = 'MR::ReserveMode::Exact' )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None mrmeshpy.Triangulation.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

None mrmeshpy.Triangulation.resizeWithReserve ( self,
int newSize,
ConstThreeVertIds value )
same as resize(newSize, value), which already grows the capacity geometrically

◆ shrink_to_fit()

None mrmeshpy.Triangulation.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstTriangulation.

◆ vec() [2/2]

None mrmeshpy.Triangulation.vec ( self,
Const_std_vector_ThreeVertIds_Allocator_ThreeVertIds arg1 )
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstTriangulation.


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