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

Public Member Functions

bool __bool__ (self)
 __init__ (self, *args, **kwargs)
ConstMesh __mul__ (self)
str __repr__ (self)
bool valid (self)
str errorString (self)
ConstMesh mesh (self)
ConstFaceBitSet meshABadContourFaces (self)
ConstFaceBitSet meshBBadContourFaces (self)

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
\\brief Structure contain boolean result
This structure store result mesh of MR::boolean or some error info

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBooleanResult, mesh: meshlib.mrmeshpy.ConstMesh, meshABadContourFaces: meshlib.mrmeshpy.ConstFaceBitSet, meshBBadContourFaces: meshlib.mrmeshpy.ConstFaceBitSet, errorString: str) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstBooleanResult.__bool__ ( self)

◆ __mul__()

ConstMesh mrmeshpy.ConstBooleanResult.__mul__ ( self)

◆ __repr__()

str mrmeshpy.ConstBooleanResult.__repr__ ( self)

◆ errorString()

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

Reimplemented in mrmeshpy.BooleanResult, and mrmeshpy.BooleanResult.

◆ mesh()

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

Reimplemented in mrmeshpy.BooleanResult, and mrmeshpy.BooleanResult.

◆ meshABadContourFaces()

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

Reimplemented in mrmeshpy.BooleanResult, and mrmeshpy.BooleanResult.

◆ meshBBadContourFaces()

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

Reimplemented in mrmeshpy.BooleanResult, and mrmeshpy.BooleanResult.

◆ valid()

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

Member Data Documentation

◆ _offsetof_errorString

typing mrmeshpy.ConstBooleanResult._offsetof_errorString = 336
staticprotected

◆ _offsetof_mesh

typing mrmeshpy.ConstBooleanResult._offsetof_mesh = 0
staticprotected

◆ _offsetof_meshABadContourFaces

typing mrmeshpy.ConstBooleanResult._offsetof_meshABadContourFaces = 272
staticprotected

◆ _offsetof_meshBBadContourFaces

typing mrmeshpy.ConstBooleanResult._offsetof_meshBBadContourFaces = 304
staticprotected

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