MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::BooleanParameters Struct Reference

#include <MRMeshBoolean.h>

Public Attributes

const AffineXf3f * rigidB2A = nullptr
 Transform from mesh B space to mesh A space.
 
BooleanResultMappermapper = nullptr
 Optional output structure to map mesh A and mesh B topology to result mesh topology.
 
BooleanPreCutResultoutPreCutA = nullptr
 Optional precut output of meshA, if present - does not perform boolean and just return them.
 
BooleanPreCutResultoutPreCutB = nullptr
 Optional precut output of meshB, if present - does not perform boolean and just return them.
 
std::vector< EdgeLoop > * outCutEdges = nullptr
 Optional output cut edges of booleaned meshes.
 
bool mergeAllNonIntersectingComponents = false
 
bool forceCut = false
 
ProgressCallback cb = {}
 

Member Data Documentation

◆ cb

ProgressCallback MR::BooleanParameters::cb = {}

◆ forceCut

bool MR::BooleanParameters::forceCut = false

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area it might work in some cases, but in general it might prevent fast error report and lead to other errors along the way

Warning
not recommended in most cases

◆ mapper

BooleanResultMapper* MR::BooleanParameters::mapper = nullptr

Optional output structure to map mesh A and mesh B topology to result mesh topology.

◆ mergeAllNonIntersectingComponents

bool MR::BooleanParameters::mergeAllNonIntersectingComponents = false

By default produce valid operation on disconnected components if set merge all non-intersecting components

◆ outCutEdges

std::vector<EdgeLoop>* MR::BooleanParameters::outCutEdges = nullptr

Optional output cut edges of booleaned meshes.

◆ outPreCutA

BooleanPreCutResult* MR::BooleanParameters::outPreCutA = nullptr

Optional precut output of meshA, if present - does not perform boolean and just return them.

◆ outPreCutB

BooleanPreCutResult* MR::BooleanParameters::outPreCutB = nullptr

Optional precut output of meshB, if present - does not perform boolean and just return them.

◆ rigidB2A

const AffineXf3f* MR::BooleanParameters::rigidB2A = nullptr

Transform from mesh B space to mesh A space.


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