Public Member Functions | |
| bool | __eq__ (self, Vector_int_FaceId b) |
| int | __getitem__ (self, FaceId i) |
| int | __getitem__ (self, FaceId i) |
| None | __init__ (self) |
| None | __init__ (self, int size) |
| None | __init__ (self, int size, int val) |
| None | __init__ (self, std_vector_int vec) |
| None | __init__ (self, Vector_int_FaceId arg0) |
| typing.Iterator[int] | __iter__ (self) |
| bool | __ne__ (self, Vector_int_FaceId b) |
| None | __setitem__ (self, FaceId arg0, int arg1) |
| int | autoResizeAt (self, FaceId i) |
| None | autoResizeSet (self, FaceId pos, int len, int val) |
| None | autoResizeSet (self, FaceId i, int val) |
| int | back (self) |
| int | back (self) |
| FaceId | backId (self) |
| FaceId | beginId (self) |
| int | capacity (self) |
| None | clear (self) |
| int | data (self) |
| int | data (self) |
| int | emplace_back (self) |
| bool | empty (self) |
| FaceId | endId (self) |
| int | front (self) |
| int | front (self) |
| int | heapBytes (self) |
| None | pop_back (self) |
| None | push_back (self, int t) |
| None | push_back (self, int t) |
| None | reserve (self, int capacity) |
| None | resize (self, int newSize) |
| None | resize (self, int newSize, int t) |
| None | resizeWithReserve (self, int newSize) |
| None | resizeWithReserve (self, int newSize, int value) |
| int | size (self) |
| None | swap (self, Vector_int_FaceId b) |
| std_vector_int | vec_ (self) |
| None | vec_ (self, std_vector_int arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Vector_int_FaceId | operator (*args, **kwargs) |
| Vector_int_FaceId | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_vec_ = 0 |
Generated from: MR::Vector<int, 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)
|
static |
| None mrmeshpy.Vector_int_FaceId.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.Vector_int_FaceId.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.Vector_int_FaceId.__init__ | ( | self, | |
| int | size, | ||
| int | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.Vector_int_FaceId.__init__ | ( | self, | |
| std_vector_int | vec ) |
moves data from the given std::vector<T>
| None mrmeshpy.Vector_int_FaceId.__init__ | ( | self, | |
| Vector_int_FaceId | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.Vector_int_FaceId.__eq__ | ( | self, | |
| Vector_int_FaceId | b ) |
| int mrmeshpy.Vector_int_FaceId.__getitem__ | ( | self, | |
| FaceId | i ) |
| int mrmeshpy.Vector_int_FaceId.__getitem__ | ( | self, | |
| FaceId | i ) |
| typing.Iterator[int] mrmeshpy.Vector_int_FaceId.__iter__ | ( | self | ) |
| bool mrmeshpy.Vector_int_FaceId.__ne__ | ( | self, | |
| Vector_int_FaceId | b ) |
| None mrmeshpy.Vector_int_FaceId.__setitem__ | ( | self, | |
| FaceId | arg0, | ||
| int | arg1 ) |
| int mrmeshpy.Vector_int_FaceId.autoResizeAt | ( | self, | |
| FaceId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.Vector_int_FaceId.autoResizeSet | ( | self, | |
| FaceId | i, | ||
| int | val ) |
sets the element #i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.Vector_int_FaceId.autoResizeSet | ( | self, | |
| FaceId | pos, | ||
| int | len, | ||
| int | 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)
| int mrmeshpy.Vector_int_FaceId.back | ( | self | ) |
| int mrmeshpy.Vector_int_FaceId.back | ( | self | ) |
| FaceId mrmeshpy.Vector_int_FaceId.backId | ( | self | ) |
returns the identifier of the back() element
| FaceId mrmeshpy.Vector_int_FaceId.beginId | ( | self | ) |
returns the identifier of the first element
| int mrmeshpy.Vector_int_FaceId.capacity | ( | self | ) |
| None mrmeshpy.Vector_int_FaceId.clear | ( | self | ) |
| int mrmeshpy.Vector_int_FaceId.data | ( | self | ) |
| int mrmeshpy.Vector_int_FaceId.data | ( | self | ) |
| int mrmeshpy.Vector_int_FaceId.emplace_back | ( | self | ) |
| bool mrmeshpy.Vector_int_FaceId.empty | ( | self | ) |
| FaceId mrmeshpy.Vector_int_FaceId.endId | ( | self | ) |
returns backId() + 1
| int mrmeshpy.Vector_int_FaceId.front | ( | self | ) |
| int mrmeshpy.Vector_int_FaceId.front | ( | self | ) |
| int mrmeshpy.Vector_int_FaceId.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
|
static |
|
static |
| None mrmeshpy.Vector_int_FaceId.pop_back | ( | self | ) |
| None mrmeshpy.Vector_int_FaceId.push_back | ( | self, | |
| int | t ) |
| None mrmeshpy.Vector_int_FaceId.push_back | ( | self, | |
| int | t ) |
| None mrmeshpy.Vector_int_FaceId.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.Vector_int_FaceId.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.Vector_int_FaceId.resize | ( | self, | |
| int | newSize, | ||
| int | t ) |
| None mrmeshpy.Vector_int_FaceId.resizeWithReserve | ( | self, | |
| int | newSize ) |
doubles reserved memory until resize(newSize) can be done without reallocation
| None mrmeshpy.Vector_int_FaceId.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| int | value ) |
doubles reserved memory until resize(newSize, value) can be done without reallocation
| int mrmeshpy.Vector_int_FaceId.size | ( | self | ) |
| None mrmeshpy.Vector_int_FaceId.swap | ( | self, | |
| Vector_int_FaceId | b ) |
| std_vector_int mrmeshpy.Vector_int_FaceId.vec_ | ( | self | ) |
the user can directly manipulate the vector, anyway she cannot break anything
| None mrmeshpy.Vector_int_FaceId.vec_ | ( | self, | |
| std_vector_int | arg1 ) |
|
staticprotected |