ViewDesignEngine
3.1.0
高性能 CAD 计算几何引擎
mesh_repair.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
struct
RepairOptions
{
14
bool
fill_holes
=
true
;
15
bool
remove_duplicates
=
true
;
16
bool
fix_orientation
=
true
;
17
bool
remove_degenerate
=
true
;
18
};
19
43
HalfedgeMesh
repair_mesh
(
const
HalfedgeMesh
& mesh,
const
RepairOptions
& opts = {});
44
45
}
// namespace vde::mesh
vde::mesh::HalfedgeMesh
半边数据结构三角网格
Definition:
halfedge_mesh.h:54
vde::mesh::repair_mesh
HalfedgeMesh repair_mesh(const HalfedgeMesh &mesh, const RepairOptions &opts={})
自动网格修复
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
vde::mesh::RepairOptions
网格修复选项
Definition:
mesh_repair.h:13
vde::mesh::RepairOptions::remove_duplicates
bool remove_duplicates
是否合并重合顶点(距离 < ε)
Definition:
mesh_repair.h:15
vde::mesh::RepairOptions::fill_holes
bool fill_holes
是否填充孔洞(补面)
Definition:
mesh_repair.h:14
vde::mesh::RepairOptions::fix_orientation
bool fix_orientation
是否统一面法向(外翻)
Definition:
mesh_repair.h:16
vde::mesh::RepairOptions::remove_degenerate
bool remove_degenerate
是否删除退化面(面积为 0 的三角形)
Definition:
mesh_repair.h:17
include
vde
mesh
mesh_repair.h
生成于 2026年 七月 24日 星期五 11:21:23 , 为 ViewDesignEngine使用
1.9.1