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

Public Member Functions

std_array_Id_VertTag_2 __getitem__ (self, int i)
Const_std_array_Id_VertTag_2 __getitem__ (ConstVector_std_array_VertId_2 self, int i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, Const_std_array_Id_VertTag_2 val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_std_array_VertId_2 arg0)
typing.Iterator[std_array_Id_VertTag_2] __iter__ (self)
typing.Iterator[std_array_Id_VertTag_2] __iter__ (ConstVector_std_array_VertId_2 self)
None __setitem__ (self, int arg0, Const_std_array_Id_VertTag_2 arg1)
Vector_std_array_VertId_2 assign (self, ConstVector_std_array_VertId_2 other)
None assign (self, int count, Const_std_array_Id_VertTag_2 val)
std_array_Id_VertTag_2 autoResizeAt (self, int i)
None autoResizeSet (self, int pos, int len, Const_std_array_Id_VertTag_2 val)
None autoResizeSet (self, int i, Const_std_array_Id_VertTag_2 val)
std_array_Id_VertTag_2 back (self)
Const_std_array_Id_VertTag_2 back (ConstVector_std_array_VertId_2 self)
None clear (self)
std_array_Id_VertTag_2 data (self)
Const_std_array_Id_VertTag_2 data (ConstVector_std_array_VertId_2 self)
std_array_Id_VertTag_2 front (self)
Const_std_array_Id_VertTag_2 front (ConstVector_std_array_VertId_2 self)
None pop_back (self)
None push_back (self, Const_std_array_Id_VertTag_2 t)
None push_back (self, std_array_Id_VertTag_2 t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, Const_std_array_Id_VertTag_2 t)
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, Const_std_array_Id_VertTag_2 value)
None shrink_to_fit (self)
None swap (self, Vector_std_array_VertId_2 b)
std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul vec (self)
None vec (self, Const_std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_std_array_VertId_2
bool __eq__ (self, ConstVector_std_array_VertId_2 b)
Const_std_array_Id_VertTag_2 __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
typing.Iterator[std_array_Id_VertTag_2] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_std_array_VertId_2 b)
int backId (self)
int beginId (self)
int capacity (self)
bool empty (self)
int endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstVector_std_array_VertId_2
 ConstStdVector = Const_std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul
 Const_const_pointer = Const_std_array_Id_VertTag_2
 Const_const_reference = Const_std_array_Id_VertTag_2
 Const_pointer = Const_std_array_Id_VertTag_2
 Const_reference = Const_std_array_Id_VertTag_2
 Const_value_type = Const_std_array_Id_VertTag_2
 StdVector = std_vector_std_array_Id_VertTag_2ul_Allocator_std_array_Id_VertTag_2ul
 const_pointer = std_array_Id_VertTag_2
 const_reference = std_array_Id_VertTag_2
 pointer = std_array_Id_VertTag_2
 reference = std_array_Id_VertTag_2
 value_type = std_array_Id_VertTag_2
Static Protected Attributes inherited from mrmeshpy.ConstVector_std_array_VertId_2
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<std::array<MR::VertId, 2>>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_std_array_VertId_2.__init__ ( self,
ConstVector_std_array_VertId_2 arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

Const_std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.__getitem__ ( ConstVector_std_array_VertId_2 self,
int i )

◆ __getitem__() [2/2]

std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.__getitem__ ( self,
int i )

◆ __iter__() [1/2]

typing.Iterator[std_array_Id_VertTag_2] mrmeshpy.Vector_std_array_VertId_2.__iter__ ( ConstVector_std_array_VertId_2 self)

◆ __iter__() [2/2]

typing.Iterator[std_array_Id_VertTag_2] mrmeshpy.Vector_std_array_VertId_2.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_std_array_VertId_2.__setitem__ ( self,
int arg0,
Const_std_array_Id_VertTag_2 arg1 )

◆ assign() [1/2]

Vector_std_array_VertId_2 mrmeshpy.Vector_std_array_VertId_2.assign ( self,
ConstVector_std_array_VertId_2 other )

◆ assign() [2/2]

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

◆ autoResizeAt()

std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.autoResizeAt ( self,
int i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_std_array_VertId_2.autoResizeSet ( self,
int i,
Const_std_array_Id_VertTag_2 val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.Vector_std_array_VertId_2.autoResizeSet ( self,
int pos,
int len,
Const_std_array_Id_VertTag_2 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]

Const_std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.back ( ConstVector_std_array_VertId_2 self)

◆ back() [2/2]

std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.back ( self)

◆ clear()

None mrmeshpy.Vector_std_array_VertId_2.clear ( self)

◆ data() [1/2]

Const_std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.data ( ConstVector_std_array_VertId_2 self)

◆ data() [2/2]

std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.data ( self)

◆ front() [1/2]

Const_std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.front ( ConstVector_std_array_VertId_2 self)

◆ front() [2/2]

std_array_Id_VertTag_2 mrmeshpy.Vector_std_array_VertId_2.front ( self)

◆ pop_back()

None mrmeshpy.Vector_std_array_VertId_2.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_std_array_VertId_2.push_back ( self,
Const_std_array_Id_VertTag_2 t )

◆ push_back() [2/2]

None mrmeshpy.Vector_std_array_VertId_2.push_back ( self,
std_array_Id_VertTag_2 t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_std_array_VertId_2.resize ( self,
int newSize,
Const_std_array_Id_VertTag_2 t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_std_array_VertId_2.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_std_array_VertId_2.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_std_array_VertId_2.


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