MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstNewEdgesMap Class Reference
Inheritance diagram for mrmeshpy.ConstNewEdgesMap:

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_phmap_flat_hash_map_Id_UndirectedEdgeTag_int_phmap_Hash_Id_UndirectedEdgeTag_phmap_EqualTo_Id_UndirectedEdgeTag_Allocator_std_pair_Id_UndirectedEdgeTag_const_int map (self)
ConstUndirectedEdgeBitSet splitEdges (self)

Static Protected Attributes

typing _offsetof_map = 32
typing _offsetof_splitEdges = 0

Detailed Description

Generated from:  MR::NewEdgesMap

Map structure to find primitives of old topology by edges introduced in cutMesh

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstNewEdgesMap, splitEdges: meshlib.mrmeshpy.ConstUndirectedEdgeBitSet, map: meshlib.mrmeshpy.Const_phmap_flat_hash_map_Id_UndirectedEdgeTag_int_phmap_Hash_Id_UndirectedEdgeTag_phmap_EqualTo_Id_UndirectedEdgeTag_Allocator_std_pair_Id_UndirectedEdgeTag_const_int) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ map()

maps every edge appeared during subdivision to an original edge before mesh subdivision;
for splitEdges[key]=true, the value is arbitrary oriented original edge, for which key-edge is its part;
for splitEdges[key]=false, the value is an original triangle

Reimplemented in mrmeshpy.NewEdgesMap, and mrmeshpy.NewEdgesMap.

◆ splitEdges()

ConstUndirectedEdgeBitSet mrmeshpy.ConstNewEdgesMap.splitEdges ( self)
true here means that a subdivided edge is a part of some original edge edge before mesh subdivision;
false here is both for unmodified edges and for new edges introduced within original triangles

Reimplemented in mrmeshpy.NewEdgesMap, and mrmeshpy.NewEdgesMap.

Member Data Documentation

◆ _offsetof_map

typing mrmeshpy.ConstNewEdgesMap._offsetof_map = 32
staticprotected

◆ _offsetof_splitEdges

typing mrmeshpy.ConstNewEdgesMap._offsetof_splitEdges = 0
staticprotected

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