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

Public Member Functions

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

Static Public Attributes

 const_reference = MeshBuilder.VertSpan
 
 reference = MeshBuilder.VertSpan
 
 value_type = MeshBuilder.VertSpan
 

Protected Member Functions

MeshBuilder.VertSpan _Subscript (self, FaceId i)
 
MeshBuilder.VertSpan _Subscript (self, FaceId i)
 

Detailed Description

Generated from:  MR::Vector<MR::MeshBuilder::VertSpan, MR::FaceId>


 \\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_MeshBuilder_VertSpan_FaceId.__init__ ( self)

◆ __init__() [2/5]

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

◆ __init__() [3/5]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.__init__ ( self,
int size,
MeshBuilder.VertSpan val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.__init__ ( self,
std_vector_MeshBuilder_VertSpan vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __iter__()

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

◆ _Subscript() [1/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId._Subscript ( self,
FaceId i )
protected

◆ _Subscript() [2/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId._Subscript ( self,
FaceId i )
protected

◆ autoResizeAt()

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.autoResizeAt ( self,
FaceId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.autoResizeSet ( self,
FaceId i,
MeshBuilder.VertSpan val )

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.autoResizeSet ( self,
FaceId pos,
int len,
MeshBuilder.VertSpan val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.back ( self)

◆ back() [2/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.back ( self)

◆ backId()

FaceId meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.backId ( self)
returns the identifier of the back() element

◆ beginId()

FaceId meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.clear ( self)

◆ data() [1/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.data ( self)

◆ data() [2/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.empty ( self)

◆ endId()

FaceId meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.endId ( self)
returns backId() + 1

◆ front() [1/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.front ( self)

◆ front() [2/2]

MeshBuilder.VertSpan meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.push_back ( self,
MeshBuilder.VertSpan t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.push_back ( self,
MeshBuilder.VertSpan t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.resize ( self,
int newSize,
MeshBuilder.VertSpan t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

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

◆ vec_() [2/2]

None meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.vec_ ( self,
std_vector_MeshBuilder_VertSpan arg1 )

Member Data Documentation

◆ const_reference

meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.const_reference = MeshBuilder.VertSpan
static

◆ reference

meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.reference = MeshBuilder.VertSpan
static

◆ value_type

meshlib.mrmeshpy.Vector_MeshBuilder_VertSpan_FaceId.value_type = MeshBuilder.VertSpan
static

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