MeshLib
 
Loading...
Searching...
No Matches
MRDotNet/MRMeshBoolean.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3
5
7public enum class BooleanOperation
8{
10 InsideB,
13 Union,
17 Count
18};
19
29
31public value struct BooleanResult
32{
35};
36
37
38public ref class MeshBoolean
39{
40public:
52 static BooleanResult Boolean( Mesh^ meshA, Mesh^ meshB, BooleanOperation op );
65 static BooleanResult Boolean( Mesh^ meshA, Mesh^ meshB, BooleanOperation op, BooleanParameters params );
66};
67
BooleanOperation
enumeration of all possible boolean operations
Definition MRDotNet/MRMeshBoolean.h:8
#define MR_DOTNET_NAMESPACE_BEGIN
Definition MRDotNet/MRMeshFwd.h:42
#define MR_DOTNET_NAMESPACE_END
Definition MRDotNet/MRMeshFwd.h:43
affine transformation: y = A*x + b, where A in VxV, and b in V
Definition MRDotNet/MRAffineXf.h:8
this class allows to map faces, vertices and edges of mesh A and mesh B input of MeshBoolean to resul...
Definition MRBooleanResultMapper.h:43
represents a mesh, including topology (connectivity) information and point coordinates,
Definition MRDotNet/MRMesh.h:30
static BooleanResult Boolean(Mesh^ meshA, Mesh^ meshB, BooleanOperation op)
Performs CSG operation on two meshes.
static BooleanResult Boolean(Mesh^ meshA, Mesh^ meshB, BooleanOperation op, BooleanParameters params)
Performs CSG operation on two meshes.
Definition MeshBoolean.dox.py:1
optional parameters for boolean operations
Definition MRDotNet/MRMeshBoolean.h:22
BooleanResultMapper mapper
Definition MRDotNet/MRMeshBoolean.h:23
AffineXf3f rigidB2A
transform from mesh B space to mesh A space
Definition MRDotNet/MRMeshBoolean.h:25
bool mergeAllNonIntersectingComponents
if set merge all non-intersecting components
Definition MRDotNet/MRMeshBoolean.h:27
output of boolean operation
Definition MRDotNet/MRMeshBoolean.h:32
Mesh mesh
resulting mesh
Definition MRDotNet/MRMeshBoolean.h:34