ViewDesignEngine  3.1.0
高性能 CAD 计算几何引擎
mesh_boolean.h
浏览该文件的文档.
1 #pragma once
3 
4 namespace vde::mesh {
5 using core::Point2D;
6 using core::Point3D;
7 using core::Vector3D;
8 
13 enum class BooleanOp {
14  Union,
15  Intersection,
16  Difference,
17  SymDiff
18 };
19 
43 
44 } // namespace vde::mesh
半边数据结构三角网格
Definition: halfedge_mesh.h:54
HalfedgeMesh mesh_boolean(const HalfedgeMesh &a, const HalfedgeMesh &b, BooleanOp op)
三角网格布尔运算
BooleanOp
布尔运算类型(CSG 组合)
Definition: mesh_boolean.h:13
@ Difference
A \ B 差集
@ Intersection
A ∩ B 交集
@ Union
A ∪ B 并集
@ SymDiff
A Δ B 对称差集
foundation::Point2D Point2D
双精度二维点(重新导出)
Definition: point.h:29
foundation::Vector3D Vector3D
双精度三维向量(重新导出)
Definition: point.h:49
foundation::Point3D Point3D
双精度三维点(重新导出)
Definition: point.h:31