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

Public Member Functions

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

Detailed Description

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

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_FanRecord_VertId.__init__ ( self,
ConstVector_FanRecord_VertId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstFanRecord mrmeshpy.Vector_FanRecord_VertId.__getitem__ ( ConstVector_FanRecord_VertId self,
ConstVertId i )

◆ __getitem__() [2/2]

FanRecord mrmeshpy.Vector_FanRecord_VertId.__getitem__ ( self,
ConstVertId i )

◆ __iter__() [1/2]

typing.Iterator[FanRecord] mrmeshpy.Vector_FanRecord_VertId.__iter__ ( ConstVector_FanRecord_VertId self)

◆ __iter__() [2/2]

typing.Iterator[FanRecord] mrmeshpy.Vector_FanRecord_VertId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_FanRecord_VertId.__setitem__ ( self,
ConstVertId arg0,
ConstFanRecord arg1 )

◆ assign() [1/2]

Vector_FanRecord_VertId mrmeshpy.Vector_FanRecord_VertId.assign ( self,
ConstVector_FanRecord_VertId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

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

ConstFanRecord mrmeshpy.Vector_FanRecord_VertId.back ( ConstVector_FanRecord_VertId self)

◆ back() [2/2]

FanRecord mrmeshpy.Vector_FanRecord_VertId.back ( self)

◆ clear()

None mrmeshpy.Vector_FanRecord_VertId.clear ( self)

◆ data() [1/2]

ConstFanRecord mrmeshpy.Vector_FanRecord_VertId.data ( ConstVector_FanRecord_VertId self)

◆ data() [2/2]

FanRecord mrmeshpy.Vector_FanRecord_VertId.data ( self)

◆ front() [1/2]

ConstFanRecord mrmeshpy.Vector_FanRecord_VertId.front ( ConstVector_FanRecord_VertId self)

◆ front() [2/2]

FanRecord mrmeshpy.Vector_FanRecord_VertId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_FanRecord_VertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_FanRecord_VertId.push_back ( self,
ConstFanRecord t )

◆ push_back() [2/2]

None mrmeshpy.Vector_FanRecord_VertId.push_back ( self,
FanRecord t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_FanRecord_VertId.resize ( self,
int newSize,
ConstFanRecord t )

◆ resizeNoInit()

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_FanRecord_VertId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_FanRecord_VertId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_FanRecord_VertId.


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