ViewDesignEngine
3.1.0
高性能 CAD 计算几何引擎
mesh_boolean.h
浏览该文件的文档.
1
#pragma once
2
#include "
vde/mesh/halfedge_mesh.h
"
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
42
HalfedgeMesh
mesh_boolean
(
const
HalfedgeMesh
& a,
const
HalfedgeMesh
& b,
BooleanOp
op);
43
44
}
// namespace vde::mesh
vde::mesh::HalfedgeMesh
半边数据结构三角网格
Definition:
halfedge_mesh.h:54
vde::mesh::mesh_boolean
HalfedgeMesh mesh_boolean(const HalfedgeMesh &a, const HalfedgeMesh &b, BooleanOp op)
三角网格布尔运算
vde::mesh::BooleanOp
BooleanOp
布尔运算类型(CSG 组合)
Definition:
mesh_boolean.h:13
vde::mesh::BooleanOp::Difference
@ Difference
A \ B 差集
vde::mesh::BooleanOp::Intersection
@ Intersection
A ∩ B 交集
vde::mesh::BooleanOp::Union
@ Union
A ∪ B 并集
vde::mesh::BooleanOp::SymDiff
@ SymDiff
A Δ B 对称差集
halfedge_mesh.h
vde::core::Point2D
foundation::Point2D Point2D
双精度二维点(重新导出)
Definition:
point.h:29
vde::core::Vector3D
foundation::Vector3D Vector3D
双精度三维向量(重新导出)
Definition:
point.h:49
vde::core::Point3D
foundation::Point3D Point3D
双精度三维点(重新导出)
Definition:
point.h:31
vde::mesh
Definition:
alpha_shapes.h:6
include
vde
mesh
mesh_boolean.h
生成于 2026年 七月 24日 星期五 11:21:23 , 为 ViewDesignEngine使用
1.9.1