MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshBoolean.h File Reference
#include "MRMeshFwd.h"
#include "MRAffineXf.h"
#include "MRBooleanOperation.h"

Go to the source code of this file.

Classes

struct  MRBooleanParameters
 optional parameters for mrBoolean More...
 
struct  MRBooleanResult
 This structure store result mesh of mrBoolean or some error info. More...
 

Typedefs

typedef MR_EXTERN_C_BEGIN struct MRBooleanParameters MRBooleanParameters
 optional parameters for mrBoolean
 
typedef struct MRBooleanResult MRBooleanResult
 This structure store result mesh of mrBoolean or some error info.
 

Functions

MRMESHC_API MRBooleanParameters mrBooleanParametersNew (void)
 initializes a default instance
 
MRMESHC_API MRBooleanResult mrBoolean (const MRMesh *meshA, const MRMesh *meshB, MRBooleanOperation operation, const MRBooleanParameters *params)
 

Typedef Documentation

◆ MRBooleanParameters

typedef MR_EXTERN_C_BEGIN struct MRBooleanParameters MRBooleanParameters

optional parameters for mrBoolean

◆ MRBooleanResult

typedef struct MRBooleanResult MRBooleanResult

This structure store result mesh of mrBoolean or some error info.

Function Documentation

◆ mrBoolean()

MRMESHC_API MRBooleanResult mrBoolean ( const MRMesh * meshA,
const MRMesh * meshB,
MRBooleanOperation operation,
const MRBooleanParameters * params )

Makes new mesh - result of boolean operation on mesh A and mesh B

Parameters
meshAInput mesh A
meshBInput mesh B
operationCSG operation to perform

◆ mrBooleanParametersNew()

MRMESHC_API MRBooleanParameters mrBooleanParametersNew ( void )

initializes a default instance