Go to the documentation of this file.
18 #ifndef IGNITION_COMMON_MESHCSG_HH_
19 #define IGNITION_COMMON_MESHCSG_HH_
21 #include <gz/math/Pose3.hh>
23 #include <gz/common/config.hh>
24 #include <gz/common/graphics/Export.hh>
39 class IGNITION_COMMON_GRAPHICS_VISIBLE
MeshCSG
56 public:
Mesh *CreateBoolean(
const Mesh *_m1,
const Mesh *_m2,
61 private:
void ConvertMeshToGTS(
const Mesh *mesh,
GtsSurface *surface);
67 private:
void MergeVertices(
GPtrArray * _vertices,
double _epsilon);
_GtsSurface GtsSurface
Definition: gz/common/GTSMeshUtils.hh:29
Forward declarations for the common classes.
_GtsSurface GtsSurface
Definition: gz/common/MeshCSG.hh:26
@ UNION
Definition: gz/common/MeshCSG.hh:42
BooleanOperation
An enumeration of the boolean operations.
Definition: gz/common/MeshCSG.hh:42
Creates CSG meshes.
Definition: gz/common/MeshCSG.hh:39
_GPtrArray GPtrArray
Definition: gz/common/MeshCSG.hh:28
static const Pose3< T > Zero
A 3D mesh.
Definition: gz/common/Mesh.hh:42