MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.PartMapping Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, PartMapping arg0)
 
None __init__ (self, phmap_flat_hash_map_Id_FaceTag_Id_FaceTag src2tgtFaces, phmap_flat_hash_map_Id_VertTag_Id_VertTag src2tgtVerts, phmap_flat_hash_map_Id_UndirectedEdgeTag_Id_EdgeTag src2tgtEdges, FaceMap tgt2srcFaces, VertMap tgt2srcVerts, WholeEdgeMap tgt2srcEdges)
 
phmap_flat_hash_map_Id_FaceTag_Id_FaceTag src2tgtFaces (self)
 
None src2tgtFaces (self, phmap_flat_hash_map_Id_FaceTag_Id_FaceTag arg1)
 
FaceMap tgt2srcFaces (self)
 
None tgt2srcFaces (self, FaceMap arg1)
 

Detailed Description

Generated from:  MR::PartMapping

mapping among elements of source mesh, from which a part is taken, and target (this) mesh

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.PartMapping.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.PartMapping.__init__ ( self,
PartMapping arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.PartMapping.__init__ ( self,
phmap_flat_hash_map_Id_FaceTag_Id_FaceTag src2tgtFaces,
phmap_flat_hash_map_Id_VertTag_Id_VertTag src2tgtVerts,
phmap_flat_hash_map_Id_UndirectedEdgeTag_Id_EdgeTag src2tgtEdges,
FaceMap tgt2srcFaces,
VertMap tgt2srcVerts,
WholeEdgeMap tgt2srcEdges )
Implicit aggregate constructor.

Member Function Documentation

◆ src2tgtFaces() [1/2]

phmap_flat_hash_map_Id_FaceTag_Id_FaceTag meshlib.mrmeshpy.PartMapping.src2tgtFaces ( self)
from.id -> this.id
hash maps are used to minimize memory consumption when only a small portion of source mesh is copied

◆ src2tgtFaces() [2/2]

None meshlib.mrmeshpy.PartMapping.src2tgtFaces ( self,
phmap_flat_hash_map_Id_FaceTag_Id_FaceTag arg1 )

◆ tgt2srcFaces() [1/2]

FaceMap meshlib.mrmeshpy.PartMapping.tgt2srcFaces ( self)
this.id -> from.id

◆ tgt2srcFaces() [2/2]

None meshlib.mrmeshpy.PartMapping.tgt2srcFaces ( self,
FaceMap arg1 )

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