MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.BooleanResult Class Reference

Public Member Functions

bool __bool__ (self)
 
None __init__ (self)
 
None __init__ (self, Mesh mesh, FaceBitSet meshABadContourFaces, FaceBitSet meshBBadContourFaces, str errorString)
 
Mesh __mul__ (self)
 
Mesh __mul__ (self)
 
str __repr__ (self)
 
Mesh operatorminus (self)
 
Mesh operatorminus (self)
 
bool valid (self)
 
str errorString (self)
 
None errorString (self, str arg1)
 
Mesh mesh (self)
 
None mesh (self, Mesh arg1)
 
FaceBitSet meshABadContourFaces (self)
 
None meshABadContourFaces (self, FaceBitSet arg1)
 
FaceBitSet meshBBadContourFaces (self)
 
None meshBBadContourFaces (self, FaceBitSet arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
BooleanResult operator (*args, **kwargs)
 
BooleanResult operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_errorString = 336
 
typing _offsetof_mesh = 0
 
typing _offsetof_meshABadContourFaces = 272
 
typing _offsetof_meshBBadContourFaces = 304
 

Detailed Description

Generated from:  MR::BooleanResult

\\struct MR::BooleanResult
\\ingroup BooleanGroup
\\brief Structure contain boolean result

This structure store result mesh of MR::boolean or some error info

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.BooleanResult.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.BooleanResult.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.BooleanResult.__init__ ( self,
Mesh mesh,
FaceBitSet meshABadContourFaces,
FaceBitSet meshBBadContourFaces,
str errorString )
Implicit aggregate constructor.

Member Function Documentation

◆ __bool__()

bool mrmeshpy.BooleanResult.__bool__ ( self)

◆ __mul__() [1/2]

Mesh mrmeshpy.BooleanResult.__mul__ ( self)

◆ __mul__() [2/2]

Mesh mrmeshpy.BooleanResult.__mul__ ( self)

◆ __repr__()

str mrmeshpy.BooleanResult.__repr__ ( self)

◆ errorString() [1/2]

str mrmeshpy.BooleanResult.errorString ( self)
Holds error message, empty if boolean succeed

◆ errorString() [2/2]

None mrmeshpy.BooleanResult.errorString ( self,
str arg1 )

◆ mesh() [1/2]

Mesh mrmeshpy.BooleanResult.mesh ( self)
Result mesh of boolean operation, if error occurred it would be empty

◆ mesh() [2/2]

None mrmeshpy.BooleanResult.mesh ( self,
Mesh arg1 )

◆ meshABadContourFaces() [1/2]

FaceBitSet mrmeshpy.BooleanResult.meshABadContourFaces ( self)
If input contours have intersections, this face bit set presents faces of mesh `A` on which contours intersect

◆ meshABadContourFaces() [2/2]

None mrmeshpy.BooleanResult.meshABadContourFaces ( self,
FaceBitSet arg1 )

◆ meshBBadContourFaces() [1/2]

FaceBitSet mrmeshpy.BooleanResult.meshBBadContourFaces ( self)
If input contours have intersections, this face bit set presents faces of mesh `B` on which contours intersect

◆ meshBBadContourFaces() [2/2]

None mrmeshpy.BooleanResult.meshBBadContourFaces ( self,
FaceBitSet arg1 )

◆ operator() [1/2]

BooleanResult mrmeshpy.BooleanResult.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

BooleanResult mrmeshpy.BooleanResult.operator ( * args,
** kwargs )
static

◆ operatorminus() [1/2]

Mesh mrmeshpy.BooleanResult.operatorminus ( self)

◆ operatorminus() [2/2]

Mesh mrmeshpy.BooleanResult.operatorminus ( self)

◆ valid()

bool mrmeshpy.BooleanResult.valid ( self)
Returns true if boolean succeed, false otherwise

Member Data Documentation

◆ _offsetof_errorString

typing mrmeshpy.BooleanResult._offsetof_errorString = 336
staticprotected

◆ _offsetof_mesh

typing mrmeshpy.BooleanResult._offsetof_mesh = 0
staticprotected

◆ _offsetof_meshABadContourFaces

typing mrmeshpy.BooleanResult._offsetof_meshABadContourFaces = 272
staticprotected

◆ _offsetof_meshBBadContourFaces

typing mrmeshpy.BooleanResult._offsetof_meshBBadContourFaces = 304
staticprotected

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