fix(v1.0.1): 修复 VDE-018 — ssi_boolean.cpp 命名空间回归
1. 删除不存在的 using vde::core::Transform3D/Plane3D 2. 移除两个过早关闭 vde::brep 命名空间的 } (原行431/946) 3. 移除匿名空间内重复的 extract_face_fragment/classify_point_adaptive 前向声明 GCC 10.2.1 -fsyntax-only 通过 (0 errors)
This commit is contained in:
@@ -29,8 +29,6 @@ using vde::core::Point2D;
|
||||
using vde::core::Point3D;
|
||||
using vde::core::Vector2D;
|
||||
using vde::core::Vector3D;
|
||||
using vde::core::Transform3D;
|
||||
using vde::core::Plane3D;
|
||||
using vde::brep::ClassResult;
|
||||
namespace vde::brep {
|
||||
|
||||
@@ -61,10 +59,6 @@ namespace {
|
||||
/// ClassResult is now defined in ssi_boolean.h (public API)
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
// Constants & types
|
||||
BrepModel extract_face_fragment(const BrepModel& body, int face_id);
|
||||
vde::brep::ClassResult classify_point_adaptive(
|
||||
const BrepModel& body, const Point3D& p, int& num_exact_upgrades);
|
||||
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
// Mesh caching (shared with brep_boolean.cpp pattern)
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
@@ -428,8 +422,6 @@ NonManifoldContactResult detect_non_manifold_contact(
|
||||
// Face utilities (shared — used by both public and internal code)
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
} // anonymous namespace — shared face utilities follow
|
||||
|
||||
/// Get bounding box of a face from its edges/vertices
|
||||
AABB3D face_bounds(const BrepModel& body, int face_id) {
|
||||
AABB3D bb;
|
||||
@@ -943,8 +935,6 @@ vde::brep::ClassResult classify_point_adaptive(
|
||||
/// 5. If vote is inconclusive, sample 2N more points and re-vote
|
||||
/// 6. Boundary points (distance < tol) use exact_orient3d for robust determination
|
||||
|
||||
} // anonymous namespace — classify_face_fragment is public
|
||||
|
||||
vde::brep::ClassResult classify_face_fragment(
|
||||
const BrepModel& body, const BrepModel& other_body,
|
||||
int face_id, int& num_exact_upgrades)
|
||||
|
||||
Reference in New Issue
Block a user