MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, int size, MeshOrPointsXf val)
 
None __init__ (self, std_vector_MeshOrPointsXf vec)
 
None __init__ (self, Vector_MeshOrPointsXf_ObjId arg0)
 
typing.Iterator __iter__ (self)
 
None autoResizeSet (self, ObjId pos, int len, MeshOrPointsXf val)
 
None autoResizeSet (self, ObjId i, MeshOrPointsXf val)
 
MeshOrPointsXf back (self)
 
MeshOrPointsXf back (self)
 
ObjId backId (self)
 
ObjId beginId (self)
 
int capacity (self)
 
None clear (self)
 
MeshOrPointsXf data (self)
 
MeshOrPointsXf data (self)
 
bool empty (self)
 
ObjId endId (self)
 
MeshOrPointsXf front (self)
 
MeshOrPointsXf front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, MeshOrPointsXf t)
 
None push_back (self, MeshOrPointsXf t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize, MeshOrPointsXf t)
 
None resizeWithReserve (self, int newSize, MeshOrPointsXf value)
 
int size (self)
 
None swap (self, Vector_MeshOrPointsXf_ObjId b)
 
std_vector_MeshOrPointsXf vec_ (self)
 
None vec_ (self, std_vector_MeshOrPointsXf arg1)
 

Static Public Attributes

 const_reference = MeshOrPointsXf
 
 reference = MeshOrPointsXf
 
 value_type = MeshOrPointsXf
 

Protected Member Functions

MeshOrPointsXf _Subscript (self, ObjId i)
 
MeshOrPointsXf _Subscript (self, ObjId i)
 

Detailed Description

Generated from:  MR::Vector<MR::MeshOrPointsXf, MR::ObjId>
Aliases:  ICPObjects, ICPObjects


 \\brief std::vector<T>-like container that requires specific indexing type,
 \\tparam T type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.__init__ ( self)

◆ __init__() [2/4]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.__init__ ( self,
int size,
MeshOrPointsXf val )

◆ __init__() [3/4]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.__init__ ( self,
std_vector_MeshOrPointsXf vec )

◆ __init__() [4/4]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.__init__ ( self,
Vector_MeshOrPointsXf_ObjId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.__iter__ ( self)

◆ _Subscript() [1/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId._Subscript ( self,
ObjId i )
protected

◆ _Subscript() [2/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId._Subscript ( self,
ObjId i )
protected

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.autoResizeSet ( self,
ObjId i,
MeshOrPointsXf val )

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.autoResizeSet ( self,
ObjId pos,
int len,
MeshOrPointsXf val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.back ( self)

◆ back() [2/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.back ( self)

◆ backId()

ObjId meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.backId ( self)
returns the identifier of the back() element

◆ beginId()

ObjId meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.clear ( self)

◆ data() [1/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.data ( self)

◆ data() [2/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.empty ( self)

◆ endId()

ObjId meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.endId ( self)
returns backId() + 1

◆ front() [1/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.front ( self)

◆ front() [2/2]

MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.front ( self)

◆ heapBytes()

int meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ pop_back()

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.push_back ( self,
MeshOrPointsXf t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.push_back ( self,
MeshOrPointsXf t )

◆ reserve()

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.reserve ( self,
int capacity )

◆ resize()

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.resize ( self,
int newSize,
MeshOrPointsXf t )

◆ resizeWithReserve()

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.resizeWithReserve ( self,
int newSize,
MeshOrPointsXf value )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ size()

int meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.size ( self)

◆ swap()

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.swap ( self,
Vector_MeshOrPointsXf_ObjId b )

◆ vec_() [1/2]

std_vector_MeshOrPointsXf meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.vec_ ( self,
std_vector_MeshOrPointsXf arg1 )

Member Data Documentation

◆ const_reference

meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.const_reference = MeshOrPointsXf
static

◆ reference

meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.reference = MeshOrPointsXf
static

◆ value_type

meshlib.mrmeshpy.Vector_MeshOrPointsXf_ObjId.value_type = MeshOrPointsXf
static

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