11 lines
261 B
C++
11 lines
261 B
C++
|
|
#pragma once
|
||
|
|
#include "vde/mesh/halfedge_mesh.h"
|
||
|
|
|
||
|
|
namespace vde::boolean {
|
||
|
|
|
||
|
|
enum class BooleanOp { Union, Intersection, Difference, SymDiff };
|
||
|
|
|
||
|
|
HalfedgeMesh mesh_boolean(const HalfedgeMesh& a, const HalfedgeMesh& b, BooleanOp op);
|
||
|
|
|
||
|
|
} // namespace vde::boolean
|