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

Public Member Functions

ObjFaceId __getitem__ (self, ConstFaceId i)
ConstObjFaceId __getitem__ (ConstVector_ObjFaceId_FaceId self, ConstFaceId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstObjFaceId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_ObjFaceId_FaceId arg0)
typing.Iterator[ObjFaceId] __iter__ (self)
typing.Iterator[ObjFaceId] __iter__ (ConstVector_ObjFaceId_FaceId self)
None __setitem__ (self, ConstFaceId arg0, ConstObjFaceId arg1)
Vector_ObjFaceId_FaceId assign (self, ConstVector_ObjFaceId_FaceId other)
None assign (self, int count, ConstObjFaceId val)
ObjFaceId autoResizeAt (self, ConstFaceId i)
None autoResizeSet (self, ConstFaceId pos, int len, ConstObjFaceId val)
None autoResizeSet (self, ConstFaceId i, ConstObjFaceId val)
ObjFaceId back (self)
ConstObjFaceId back (ConstVector_ObjFaceId_FaceId self)
None clear (self)
ObjFaceId data (self)
ConstObjFaceId data (ConstVector_ObjFaceId_FaceId self)
ObjFaceId front (self)
ConstObjFaceId front (ConstVector_ObjFaceId_FaceId self)
None pop_back (self)
None push_back (self, ConstObjFaceId t)
None push_back (self, ObjFaceId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstObjFaceId t)
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstObjFaceId value)
None shrink_to_fit (self)
None swap (self, Vector_ObjFaceId_FaceId b)
std_vector_ObjFaceId_Allocator_ObjFaceId vec (self)
None vec (self, Const_std_vector_ObjFaceId_Allocator_ObjFaceId arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_ObjFaceId_FaceId
bool __eq__ (self, ConstVector_ObjFaceId_FaceId b)
ConstObjFaceId __getitem__ (self, ConstFaceId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ObjFaceId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_ObjFaceId_FaceId 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 Public Attributes inherited from mrmeshpy.ConstVector_ObjFaceId_FaceId
 ConstStdVector = Const_std_vector_ObjFaceId_Allocator_ObjFaceId
 Const_const_pointer = ConstObjFaceId
 Const_const_reference = ConstObjFaceId
 Const_pointer = ConstObjFaceId
 Const_reference = ConstObjFaceId
 Const_value_type = ConstObjFaceId
 StdVector = std_vector_ObjFaceId_Allocator_ObjFaceId
 const_pointer = ObjFaceId
 const_reference = ObjFaceId
 pointer = ObjFaceId
 reference = ObjFaceId
 value_type = ObjFaceId
Static Protected Attributes inherited from mrmeshpy.ConstVector_ObjFaceId_FaceId
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::ObjFaceId, MR::FaceId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_ObjFaceId_FaceId.__init__ ( self,
ConstVector_ObjFaceId_FaceId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.__getitem__ ( ConstVector_ObjFaceId_FaceId self,
ConstFaceId i )

◆ __getitem__() [2/2]

ObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.__getitem__ ( self,
ConstFaceId i )

◆ __iter__() [1/2]

typing.Iterator[ObjFaceId] mrmeshpy.Vector_ObjFaceId_FaceId.__iter__ ( ConstVector_ObjFaceId_FaceId self)

◆ __iter__() [2/2]

typing.Iterator[ObjFaceId] mrmeshpy.Vector_ObjFaceId_FaceId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_ObjFaceId_FaceId.__setitem__ ( self,
ConstFaceId arg0,
ConstObjFaceId arg1 )

◆ assign() [1/2]

Vector_ObjFaceId_FaceId mrmeshpy.Vector_ObjFaceId_FaceId.assign ( self,
ConstVector_ObjFaceId_FaceId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_ObjFaceId_FaceId.autoResizeSet ( self,
ConstFaceId i,
ConstObjFaceId 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_ObjFaceId_FaceId.autoResizeSet ( self,
ConstFaceId pos,
int len,
ConstObjFaceId 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]

ConstObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.back ( ConstVector_ObjFaceId_FaceId self)

◆ back() [2/2]

ObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.back ( self)

◆ clear()

None mrmeshpy.Vector_ObjFaceId_FaceId.clear ( self)

◆ data() [1/2]

ConstObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.data ( ConstVector_ObjFaceId_FaceId self)

◆ data() [2/2]

ObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.data ( self)

◆ front() [1/2]

ConstObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.front ( ConstVector_ObjFaceId_FaceId self)

◆ front() [2/2]

ObjFaceId mrmeshpy.Vector_ObjFaceId_FaceId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_ObjFaceId_FaceId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_ObjFaceId_FaceId.push_back ( self,
ConstObjFaceId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_ObjFaceId_FaceId.push_back ( self,
ObjFaceId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_ObjFaceId_FaceId.resize ( self,
int newSize,
ConstObjFaceId t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_ObjFaceId_FaceId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_ObjFaceId_FaceId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_ObjFaceId_FaceId.


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