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

Classes

class  ConstMaps
class  MapObject
class  Maps

Public Member Functions

 __init__ (self, *args, **kwargs)
FaceBitSet filteredOldFaceBitSet (self, ConstFaceBitSet oldBS, BooleanResultMapper.MapObject obj)
BooleanResultMapper.ConstMaps getMaps (self, BooleanResultMapper.MapObject index)
FaceMap getNew2OldFaceMap (self, BooleanResultMapper.MapObject obj)
FaceBitSet map (self, ConstFaceBitSet oldBS, BooleanResultMapper.MapObject obj)
VertBitSet map (self, ConstVertBitSet oldBS, BooleanResultMapper.MapObject obj)
EdgeBitSet map (self, ConstEdgeBitSet oldBS, BooleanResultMapper.MapObject obj)
UndirectedEdgeBitSet map (self, ConstUndirectedEdgeBitSet oldBS, BooleanResultMapper.MapObject obj)
FaceBitSet newFaces (self)
Const_std_array_BooleanResultMapper_Maps_2 maps (self)

Static Protected Attributes

typing _offsetof_maps = 0

Detailed Description

Generated from:  MR::BooleanResultMapper

\\struct MR::BooleanResultMapper
\\brief Structure to map old mesh BitSets to new
\\details Structure to easily map topology of MR::boolean input meshes to result mesh
This structure allows to map faces, vertices and edges of mesh `A` and mesh `B` input of MR::boolean to result mesh topology primitives
\\snippet cpp-examples/MeshBoolean.dox.cpp 1
\\snippet cpp-examples/MeshBoolean.dox.cpp 2
\\sa \\ref MR::boolean

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBooleanResultMapper, : meshlib.mrmeshpy.ConstBooleanResultMapper) -> None

Member Function Documentation

◆ filteredOldFaceBitSet()

FaceBitSet mrmeshpy.ConstBooleanResultMapper.filteredOldFaceBitSet ( self,
ConstFaceBitSet oldBS,
BooleanResultMapper.MapObject obj )
returns updated oldBS leaving only faces that has corresponding ones in result mesh

◆ getMaps()

BooleanResultMapper.ConstMaps mrmeshpy.ConstBooleanResultMapper.getMaps ( self,
BooleanResultMapper.MapObject index )

◆ getNew2OldFaceMap()

FaceMap mrmeshpy.ConstBooleanResultMapper.getNew2OldFaceMap ( self,
BooleanResultMapper.MapObject obj )
returns map: new_face_id->old_obj_face_id for faces from \\param obj

◆ map() [1/4]

EdgeBitSet mrmeshpy.ConstBooleanResultMapper.map ( self,
ConstEdgeBitSet oldBS,
BooleanResultMapper.MapObject obj )
Returns edges bitset of result mesh corresponding input one

◆ map() [2/4]

FaceBitSet mrmeshpy.ConstBooleanResultMapper.map ( self,
ConstFaceBitSet oldBS,
BooleanResultMapper.MapObject obj )
Returns faces bitset of result mesh corresponding input one

◆ map() [3/4]

UndirectedEdgeBitSet mrmeshpy.ConstBooleanResultMapper.map ( self,
ConstUndirectedEdgeBitSet oldBS,
BooleanResultMapper.MapObject obj )
Returns undirected edges bitset of result mesh corresponding input one

◆ map() [4/4]

VertBitSet mrmeshpy.ConstBooleanResultMapper.map ( self,
ConstVertBitSet oldBS,
BooleanResultMapper.MapObject obj )
Returns vertices bitset of result mesh corresponding input one

◆ maps()

Const_std_array_BooleanResultMapper_Maps_2 mrmeshpy.ConstBooleanResultMapper.maps ( self)

◆ newFaces()

FaceBitSet mrmeshpy.ConstBooleanResultMapper.newFaces ( self)
Returns only new faces that are created during boolean operation

Member Data Documentation

◆ _offsetof_maps

typing mrmeshpy.ConstBooleanResultMapper._offsetof_maps = 0
staticprotected

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