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

Public Member Functions

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

Detailed Description

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

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_Vector2d_VertId.__init__ ( self,
ConstVector_Vector2d_VertId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector2d mrmeshpy.Vector_Vector2d_VertId.__getitem__ ( ConstVector_Vector2d_VertId self,
ConstVertId i )

◆ __getitem__() [2/2]

Vector2d mrmeshpy.Vector_Vector2d_VertId.__getitem__ ( self,
ConstVertId i )

◆ __iter__() [1/2]

typing.Iterator[Vector2d] mrmeshpy.Vector_Vector2d_VertId.__iter__ ( ConstVector_Vector2d_VertId self)

◆ __iter__() [2/2]

typing.Iterator[Vector2d] mrmeshpy.Vector_Vector2d_VertId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_Vector2d_VertId.__setitem__ ( self,
ConstVertId arg0,
ConstVector2d arg1 )

◆ assign() [1/2]

Vector_Vector2d_VertId mrmeshpy.Vector_Vector2d_VertId.assign ( self,
ConstVector_Vector2d_VertId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

Vector2d mrmeshpy.Vector_Vector2d_VertId.autoResizeAt ( self,
ConstVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

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

ConstVector2d mrmeshpy.Vector_Vector2d_VertId.back ( ConstVector_Vector2d_VertId self)

◆ back() [2/2]

Vector2d mrmeshpy.Vector_Vector2d_VertId.back ( self)

◆ clear()

None mrmeshpy.Vector_Vector2d_VertId.clear ( self)

◆ data() [1/2]

ConstVector2d mrmeshpy.Vector_Vector2d_VertId.data ( ConstVector_Vector2d_VertId self)

◆ data() [2/2]

Vector2d mrmeshpy.Vector_Vector2d_VertId.data ( self)

◆ front() [1/2]

ConstVector2d mrmeshpy.Vector_Vector2d_VertId.front ( ConstVector_Vector2d_VertId self)

◆ front() [2/2]

Vector2d mrmeshpy.Vector_Vector2d_VertId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_Vector2d_VertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_Vector2d_VertId.push_back ( self,
ConstVector2d t )

◆ push_back() [2/2]

None mrmeshpy.Vector_Vector2d_VertId.push_back ( self,
Vector2d t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_Vector2d_VertId.resize ( self,
int newSize,
ConstVector2d t )

◆ resizeNoInit()

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_Vector2d_VertId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_Vector2d_VertId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_Vector2d_VertId.


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