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

Public Member Functions

VertId __getitem__ (self, int i)
ConstVertId __getitem__ (ConstVector_VertId self, int i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstVertId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_VertId arg0)
typing.Iterator[VertId] __iter__ (self)
typing.Iterator[VertId] __iter__ (ConstVector_VertId self)
None __setitem__ (self, int arg0, ConstVertId arg1)
Vector_VertId assign (self, ConstVector_VertId other)
None assign (self, int count, ConstVertId val)
VertId autoResizeAt (self, int i)
None autoResizeSet (self, int pos, int len, ConstVertId val)
None autoResizeSet (self, int i, ConstVertId val)
VertId back (self)
ConstVertId back (ConstVector_VertId self)
None clear (self)
VertId data (self)
ConstVertId data (ConstVector_VertId self)
VertId front (self)
ConstVertId front (ConstVector_VertId self)
None pop_back (self)
None push_back (self, ConstVertId t)
None push_back (self, VertId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstVertId t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstVertId value)
None shrink_to_fit (self)
None swap (self, Vector_VertId b)
std_vector_Id_VertTag_Allocator_Id_VertTag vec (self)
None vec (self, Const_std_vector_Id_VertTag_Allocator_Id_VertTag arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_VertId
bool __eq__ (self, ConstVector_VertId b)
ConstVertId __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
typing.Iterator[VertId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_VertId 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_VertId
 ConstStdVector = Const_std_vector_Id_VertTag_Allocator_Id_VertTag
 Const_const_pointer = ConstVertId
 Const_const_reference = ConstVertId
 Const_pointer = ConstVertId
 Const_reference = ConstVertId
 Const_value_type = ConstVertId
 StdVector = std_vector_Id_VertTag_Allocator_Id_VertTag
 const_pointer = VertId
 const_reference = VertId
 pointer = VertId
 reference = VertId
 value_type = VertId
Static Protected Attributes inherited from mrmeshpy.ConstVector_VertId
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::VertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_VertId.__init__ ( self,
ConstVector_VertId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstVertId mrmeshpy.Vector_VertId.__getitem__ ( ConstVector_VertId self,
int i )

◆ __getitem__() [2/2]

VertId mrmeshpy.Vector_VertId.__getitem__ ( self,
int i )

◆ __iter__() [1/2]

typing.Iterator[VertId] mrmeshpy.Vector_VertId.__iter__ ( ConstVector_VertId self)

◆ __iter__() [2/2]

typing.Iterator[VertId] mrmeshpy.Vector_VertId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_VertId.__setitem__ ( self,
int arg0,
ConstVertId arg1 )

◆ assign() [1/2]

Vector_VertId mrmeshpy.Vector_VertId.assign ( self,
ConstVector_VertId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_VertId.autoResizeSet ( self,
int i,
ConstVertId 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_VertId.autoResizeSet ( self,
int pos,
int len,
ConstVertId 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]

ConstVertId mrmeshpy.Vector_VertId.back ( ConstVector_VertId self)

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ back() [2/2]

VertId mrmeshpy.Vector_VertId.back ( self)

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ clear()

None mrmeshpy.Vector_VertId.clear ( self)

◆ data() [1/2]

ConstVertId mrmeshpy.Vector_VertId.data ( ConstVector_VertId self)

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ data() [2/2]

VertId mrmeshpy.Vector_VertId.data ( self)

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ front() [1/2]

ConstVertId mrmeshpy.Vector_VertId.front ( ConstVector_VertId self)

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ front() [2/2]

VertId mrmeshpy.Vector_VertId.front ( self)

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ pop_back()

None mrmeshpy.Vector_VertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_VertId.push_back ( self,
ConstVertId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_VertId.push_back ( self,
VertId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_VertId.resize ( self,
int newSize,
ConstVertId t )

◆ resizeNoInit()

None mrmeshpy.Vector_VertId.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.Vector_VertId.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_VertId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_VertId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_VertId.


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