Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Static Public Member Functions inherited from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId | |
| MapOrHashMap_FaceId_FaceId | createHashMap (int capacity=0) |
| MapOrHashMap_FaceId_FaceId | createMap (int size=0) |
Additional Inherited Members | |
| Static Public Attributes inherited from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId | |
| ConstDense = ConstFaceMap | |
| ConstHash = Const_phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag | |
| Dense = FaceMap | |
| Hash = phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag | |
| Static Protected Attributes inherited from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId | |
| typing | _offsetof_var = 0 |
Generated from: MR::MapOrHashMap<MR::FaceId, MR::FaceId> Aliases: FaceMapOrHashMap stores a mapping from keys K to values V in one of two forms: 1) as dense map (vector) preferable when there are few missing keys in a range [0, endKey) 2) as hash map preferable when valid keys are a small subset of the range
|
static |
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.__init__ | ( | self | ) |
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.__init__ | ( | self, | |
| ConstMapOrHashMap_FaceId_FaceId | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.__init__ | ( | self, | |
| Const_std_variant_Vector_Id_FaceTag_Id_FaceTag_phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag | var ) |
Implicit aggregate constructor.
| MapOrHashMap_FaceId_FaceId mrmeshpy.MapOrHashMap_FaceId_FaceId.assign | ( | self, | |
| ConstMapOrHashMap_FaceId_FaceId | other ) |
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.clear | ( | self | ) |
| Const_phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag mrmeshpy.MapOrHashMap_FaceId_FaceId.getHashMap | ( | ConstMapOrHashMap_FaceId_FaceId | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.
| phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag mrmeshpy.MapOrHashMap_FaceId_FaceId.getHashMap | ( | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.
| ConstFaceMap mrmeshpy.MapOrHashMap_FaceId_FaceId.getMap | ( | ConstMapOrHashMap_FaceId_FaceId | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.
| FaceMap mrmeshpy.MapOrHashMap_FaceId_FaceId.getMap | ( | self | ) |
Reimplemented from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.pushBack | ( | self, | |
| ConstFaceId | key, | ||
| ConstFaceId | val ) |
appends one element in the map, in case of dense map, key must be equal to vector.endId()
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.resizeReserve | ( | self, | |
| int | denseTotalSize, | ||
| int | hashAdditionalCapacity ) |
if this stores dense map then resizes it to denseTotalSize; if this stores hash map then sets its capacity to size()+hashAdditionalCapacity
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.setHashMap | ( | self, | |
| phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag | m ) |
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.setMap | ( | self, | |
| FaceMap | m ) |
| std_variant_Vector_Id_FaceTag_Id_FaceTag_phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag mrmeshpy.MapOrHashMap_FaceId_FaceId.var | ( | self | ) |
default construction will select dense map
Reimplemented from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.
| None mrmeshpy.MapOrHashMap_FaceId_FaceId.var | ( | self, | |
| Const_std_variant_Vector_Id_FaceTag_Id_FaceTag_phmap_flat_hash_map_Id_FaceTag_Id_FaceTag_phmap_Hash_Id_FaceTag_phmap_EqualTo_Id_FaceTag_Allocator_std_pair_Id_FaceTag_const_Id_FaceTag | arg1 ) |
default construction will select dense map
Reimplemented from mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.