Public Member Functions | |
| FaceId | __getitem__ (self, ConstFaceId i) |
| ConstFaceId | __getitem__ (ConstFaceMap self, ConstFaceId i) |
| None | __init__ (self) |
| None | __init__ (self, int size) |
| None | __init__ (self, int size, ConstFaceId val) |
| None | __init__ (self, list arg0) |
| None | __init__ (self, ConstFaceMap arg0) |
| typing.Iterator[FaceId] | __iter__ (self) |
| typing.Iterator[FaceId] | __iter__ (ConstFaceMap self) |
| None | __setitem__ (self, ConstFaceId arg0, ConstFaceId arg1) |
| FaceMap | assign (self, ConstFaceMap other) |
| None | assign (self, int count, ConstFaceId val) |
| FaceId | autoResizeAt (self, ConstFaceId i) |
| None | autoResizeSet (self, ConstFaceId pos, int len, ConstFaceId val) |
| None | autoResizeSet (self, ConstFaceId i, ConstFaceId val) |
| FaceId | back (self) |
| ConstFaceId | back (ConstFaceMap self) |
| None | clear (self) |
| FaceId | data (self) |
| ConstFaceId | data (ConstFaceMap self) |
| FaceId | front (self) |
| ConstFaceId | front (ConstFaceMap self) |
| None | pop_back (self) |
| None | push_back (self, ConstFaceId t) |
| None | push_back (self, FaceId t) |
| None | reserve (self, int capacity) |
| None | resize (self, int newSize) |
| None | resize (self, int newSize, ConstFaceId t) |
| None | resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact') |
| None | resizeWithReserve (self, int newSize) |
| None | resizeWithReserve (self, int newSize, ConstFaceId value) |
| None | shrink_to_fit (self) |
| None | swap (self, FaceMap b) |
| std_vector_Id_FaceTag_Allocator_Id_FaceTag | vec (self) |
| None | vec (self, Const_std_vector_Id_FaceTag_Allocator_Id_FaceTag arg1) |
| Public Member Functions inherited from mrmeshpy.ConstFaceMap | |
| bool | __eq__ (self, ConstFaceMap b) |
| ConstFaceId | __getitem__ (self, ConstFaceId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[FaceId] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstFaceMap b) |
| FaceId | backId (self) |
| FaceId | beginId (self) |
| int | capacity (self) |
| bool | empty (self) |
| FaceId | endId (self) |
| int | heapBytes (self) |
| int | max_size (self) |
| int | size (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstFaceMap | |
| typing | _offsetof_vec = 0 |
Generated from: MR::FaceMap Aliases: MapOrHashMap_FaceId_FaceId.Dense Vector<T> is indexed by size_t
|
static |
| None mrmeshpy.FaceMap.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.FaceMap.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.FaceMap.__init__ | ( | self, | |
| int | size, | ||
| ConstFaceId | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.FaceMap.__init__ | ( | self, | |
| list | arg0 ) |
| None mrmeshpy.FaceMap.__init__ | ( | self, | |
| ConstFaceMap | arg0 ) |
Implicit copy constructor.
| ConstFaceId mrmeshpy.FaceMap.__getitem__ | ( | ConstFaceMap | self, |
| ConstFaceId | i ) |
| FaceId mrmeshpy.FaceMap.__getitem__ | ( | self, | |
| ConstFaceId | i ) |
| typing.Iterator[FaceId] mrmeshpy.FaceMap.__iter__ | ( | ConstFaceMap | self | ) |
| typing.Iterator[FaceId] mrmeshpy.FaceMap.__iter__ | ( | self | ) |
| None mrmeshpy.FaceMap.__setitem__ | ( | self, | |
| ConstFaceId | arg0, | ||
| ConstFaceId | arg1 ) |
| FaceMap mrmeshpy.FaceMap.assign | ( | self, | |
| ConstFaceMap | other ) |
| None mrmeshpy.FaceMap.assign | ( | self, | |
| int | count, | ||
| ConstFaceId | val ) |
replaces the contents with \\p count copies of \\p val
| FaceId mrmeshpy.FaceMap.autoResizeAt | ( | self, | |
| ConstFaceId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.FaceMap.autoResizeSet | ( | self, | |
| ConstFaceId | i, | ||
| ConstFaceId | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.FaceMap.autoResizeSet | ( | self, | |
| ConstFaceId | pos, | ||
| int | len, | ||
| ConstFaceId | 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)
| ConstFaceId mrmeshpy.FaceMap.back | ( | ConstFaceMap | self | ) |
Reimplemented from mrmeshpy.ConstFaceMap.
| FaceId mrmeshpy.FaceMap.back | ( | self | ) |
Reimplemented from mrmeshpy.ConstFaceMap.
| None mrmeshpy.FaceMap.clear | ( | self | ) |
| ConstFaceId mrmeshpy.FaceMap.data | ( | ConstFaceMap | self | ) |
Reimplemented from mrmeshpy.ConstFaceMap.
| FaceId mrmeshpy.FaceMap.data | ( | self | ) |
Reimplemented from mrmeshpy.ConstFaceMap.
| ConstFaceId mrmeshpy.FaceMap.front | ( | ConstFaceMap | self | ) |
Reimplemented from mrmeshpy.ConstFaceMap.
| FaceId mrmeshpy.FaceMap.front | ( | self | ) |
Reimplemented from mrmeshpy.ConstFaceMap.
| None mrmeshpy.FaceMap.pop_back | ( | self | ) |
| None mrmeshpy.FaceMap.push_back | ( | self, | |
| ConstFaceId | t ) |
| None mrmeshpy.FaceMap.push_back | ( | self, | |
| FaceId | t ) |
| None mrmeshpy.FaceMap.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.FaceMap.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.FaceMap.resize | ( | self, | |
| int | newSize, | ||
| ConstFaceId | t ) |
| None mrmeshpy.FaceMap.resizeNoInit | ( | self, | |
| int | targetSize, | ||
| ReserveMode | mode = 'MR::ReserveMode::Exact' ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )
| None mrmeshpy.FaceMap.resizeWithReserve | ( | self, | |
| int | newSize ) |
same as resize(newSize), which already grows the capacity geometrically
| None mrmeshpy.FaceMap.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| ConstFaceId | value ) |
same as resize(newSize, value), which already grows the capacity geometrically
| None mrmeshpy.FaceMap.shrink_to_fit | ( | self | ) |
| None mrmeshpy.FaceMap.swap | ( | self, | |
| FaceMap | b ) |
| std_vector_Id_FaceTag_Allocator_Id_FaceTag mrmeshpy.FaceMap.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstFaceMap.
| None mrmeshpy.FaceMap.vec | ( | self, | |
| Const_std_vector_Id_FaceTag_Allocator_Id_FaceTag | arg1 ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstFaceMap.