MeshLib Documentation
Loading...
Searching...
No Matches
MR::BooleanResult Struct Reference

Structure contain boolean result. More...

#include <MRMeshBoolean.h>

Public Member Functions

bool valid () const
 Returns true if boolean succeed, false otherwise.
 
Meshoperator* ()
 
const Meshoperator* () const
 
Meshoperator-> ()
 
const Meshoperator-> () const
 
 operator bool () const
 

Public Attributes

Mesh mesh
 Result mesh of boolean operation, if error occurred it would be empty.
 
FaceBitSet meshABadContourFaces
 If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect.
 
FaceBitSet meshBBadContourFaces
 If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect.
 
std::string errorString
 Holds error message, empty if boolean succeed.
 

Detailed Description

Structure contain boolean result.

Structure with parameters for boolean call.

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

Member Function Documentation

◆ operator bool()

MR::BooleanResult::operator bool ( ) const
inline

◆ operator*() [1/2]

Mesh & MR::BooleanResult::operator* ( )
inline

◆ operator*() [2/2]

const Mesh & MR::BooleanResult::operator* ( ) const
inline

◆ operator->() [1/2]

Mesh * MR::BooleanResult::operator-> ( )
inline

◆ operator->() [2/2]

const Mesh * MR::BooleanResult::operator-> ( ) const
inline

◆ valid()

bool MR::BooleanResult::valid ( ) const
inline

Returns true if boolean succeed, false otherwise.

Member Data Documentation

◆ errorString

std::string MR::BooleanResult::errorString

Holds error message, empty if boolean succeed.

◆ mesh

Mesh MR::BooleanResult::mesh

Result mesh of boolean operation, if error occurred it would be empty.

◆ meshABadContourFaces

FaceBitSet MR::BooleanResult::meshABadContourFaces

If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect.

◆ meshBBadContourFaces

FaceBitSet MR::BooleanResult::meshBBadContourFaces

If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect.


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