MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstMapOrHashMap_FaceId_FaceId:

Public Member Functions

 __init__ (self, *args, **kwargs)
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 getHashMap (self)
ConstFaceMap getMap (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 (self)

Static Public Member Functions

MapOrHashMap_FaceId_FaceId createHashMap (int capacity=0)
MapOrHashMap_FaceId_FaceId createMap (int size=0)

Static Public Attributes

 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

typing _offsetof_var = 0

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_FaceId_FaceId) -> None

2. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_FaceId_FaceId, arg0: meshlib.mrmeshpy.ConstMapOrHashMap_FaceId_FaceId) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_FaceId_FaceId, var: meshlib.mrmeshpy.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) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_FaceId_FaceId, : meshlib.mrmeshpy.ConstMapOrHashMap_FaceId_FaceId) -> None

Member Function Documentation

◆ createHashMap()

MapOrHashMap_FaceId_FaceId mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.createHashMap ( int capacity = 0)
static

◆ createMap()

MapOrHashMap_FaceId_FaceId mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.createMap ( int size = 0)
static

◆ getHashMap()

◆ getMap()

ConstFaceMap mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.getMap ( self)

◆ var()

Member Data Documentation

◆ _offsetof_var

typing mrmeshpy.ConstMapOrHashMap_FaceId_FaceId._offsetof_var = 0
staticprotected

◆ ConstDense

mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.ConstDense = ConstFaceMap
static

◆ ConstHash

◆ Dense

mrmeshpy.ConstMapOrHashMap_FaceId_FaceId.Dense = FaceMap
static

◆ Hash


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