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

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag getHashMap (self)
ConstVertMap getMap (self)
Const_std_variant_Vector_Id_VertTag_Id_VertTag_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag var (self)

Static Public Member Functions

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

Static Public Attributes

 ConstDense = ConstVertMap
 ConstHash = Const_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag
 Dense = VertMap
 Hash = phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag

Static Protected Attributes

typing _offsetof_var = 0

Detailed Description

Generated from:  MR::MapOrHashMap<MR::VertId, MR::VertId>
Aliases:  VertMapOrHashMap

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_VertId_VertId.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMapOrHashMap_VertId_VertId, var: meshlib.mrmeshpy.Const_std_variant_Vector_Id_VertTag_Id_VertTag_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ createHashMap()

MapOrHashMap_VertId_VertId mrmeshpy.ConstMapOrHashMap_VertId_VertId.createHashMap ( int capacity = 0)
static

◆ createMap()

MapOrHashMap_VertId_VertId mrmeshpy.ConstMapOrHashMap_VertId_VertId.createMap ( int size = 0)
static

◆ getHashMap()

◆ getMap()

ConstVertMap mrmeshpy.ConstMapOrHashMap_VertId_VertId.getMap ( self)

◆ var()

Member Data Documentation

◆ _offsetof_var

typing mrmeshpy.ConstMapOrHashMap_VertId_VertId._offsetof_var = 0
staticprotected

◆ ConstDense

mrmeshpy.ConstMapOrHashMap_VertId_VertId.ConstDense = ConstVertMap
static

◆ ConstHash

◆ Dense

mrmeshpy.ConstMapOrHashMap_VertId_VertId.Dense = VertMap
static

◆ Hash


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