|
ViewDesignEngine
3.1.0
高性能 CAD 计算几何引擎
|
B-Rep 模型综合验证 更多...

类 | |
| struct | vde::brep::ValidationResult |
| B-Rep 模型的综合验证结果 更多... | |
命名空间 | |
| vde | |
| vde::brep | |
函数 | |
| ValidationResult | vde::brep::validate (const BrepModel &body) |
| 对 BrepModel 执行综合验证 更多... | |
B-Rep 模型综合验证
对 BrepModel 进行完整性、水密性和拓扑一致性检查。 在生产环境中,验证应在布尔运算、文件导入/导出前后执行。
| 检查项 | 字段 | 通过标准 |
|---|---|---|
| 水密性 (watertightness) | watertightness | 1.0 (每条边恰好 2 个面) |
| 无自交 | self_intersection_free | 1.0 |
| 流形性 | non_manifold_edges | 0 |
| 无悬挂边 | dangling_edges | 0 |
| 方向一致性 | inconsistent_orientations | 0 |
| 边的尺寸 | min/max_edge_length | min > 容差 |
在文件 brep_validate.h 中定义.