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

Public Member Functions

bool __eq__ (self, Vector_double_RegionId b)
 
None __init__ (self)
 
None __init__ (self, int size)
 
None __init__ (self, int size, float val)
 
None __init__ (self, std_vector_double vec)
 
None __init__ (self, Vector_double_RegionId arg0)
 
typing.Iterator __iter__ (self)
 
bool __ne__ (self, Vector_double_RegionId b)
 
float autoResizeAt (self, RegionId i)
 
None autoResizeSet (self, RegionId pos, int len, float val)
 
None autoResizeSet (self, RegionId i, float val)
 
float back (self)
 
float back (self)
 
RegionId backId (self)
 
RegionId beginId (self)
 
int capacity (self)
 
None clear (self)
 
float data (self)
 
float data (self)
 
bool empty (self)
 
RegionId endId (self)
 
float front (self)
 
float front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, float t)
 
None push_back (self, float t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize)
 
None resize (self, int newSize, float t)
 
None resizeWithReserve (self, int newSize)
 
None resizeWithReserve (self, int newSize, float value)
 
int size (self)
 
None swap (self, Vector_double_RegionId b)
 
std_vector_double vec_ (self)
 
None vec_ (self, std_vector_double arg1)
 

Protected Member Functions

float _Subscript (self, RegionId i)
 
float _Subscript (self, RegionId i)
 

Detailed Description

Generated from:  MR::Vector<double, MR::RegionId>


 \\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/5]

None meshlib.mrmeshpy.Vector_double_RegionId.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.Vector_double_RegionId.__init__ ( self,
int size )

◆ __init__() [3/5]

None meshlib.mrmeshpy.Vector_double_RegionId.__init__ ( self,
int size,
float val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector_double_RegionId.__init__ ( self,
std_vector_double vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.Vector_double_RegionId.__eq__ ( self,
Vector_double_RegionId b )

◆ __iter__()

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

◆ __ne__()

bool meshlib.mrmeshpy.Vector_double_RegionId.__ne__ ( self,
Vector_double_RegionId b )

◆ _Subscript() [1/2]

float meshlib.mrmeshpy.Vector_double_RegionId._Subscript ( self,
RegionId i )
protected

◆ _Subscript() [2/2]

float meshlib.mrmeshpy.Vector_double_RegionId._Subscript ( self,
RegionId i )
protected

◆ autoResizeAt()

float meshlib.mrmeshpy.Vector_double_RegionId.autoResizeAt ( self,
RegionId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_double_RegionId.autoResizeSet ( self,
RegionId i,
float val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

float meshlib.mrmeshpy.Vector_double_RegionId.back ( self)

◆ back() [2/2]

float meshlib.mrmeshpy.Vector_double_RegionId.back ( self)

◆ backId()

RegionId meshlib.mrmeshpy.Vector_double_RegionId.backId ( self)
returns the identifier of the back() element

◆ beginId()

RegionId meshlib.mrmeshpy.Vector_double_RegionId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Vector_double_RegionId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_double_RegionId.clear ( self)

◆ data() [1/2]

float meshlib.mrmeshpy.Vector_double_RegionId.data ( self)

◆ data() [2/2]

float meshlib.mrmeshpy.Vector_double_RegionId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_double_RegionId.empty ( self)

◆ endId()

RegionId meshlib.mrmeshpy.Vector_double_RegionId.endId ( self)
returns backId() + 1

◆ front() [1/2]

float meshlib.mrmeshpy.Vector_double_RegionId.front ( self)

◆ front() [2/2]

float meshlib.mrmeshpy.Vector_double_RegionId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Vector_double_RegionId.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Vector_double_RegionId.push_back ( self,
float t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Vector_double_RegionId.push_back ( self,
float t )

◆ reserve()

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

◆ resize() [1/2]

None meshlib.mrmeshpy.Vector_double_RegionId.resize ( self,
int newSize )

◆ resize() [2/2]

None meshlib.mrmeshpy.Vector_double_RegionId.resize ( self,
int newSize,
float t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int meshlib.mrmeshpy.Vector_double_RegionId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_double_RegionId.vec_ ( self,
std_vector_double arg1 )

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