diff --git a/docs/feedback/VDE-014.md b/docs/feedback/VDE-014.md index b29c9fc..20c85ee 100644 --- a/docs/feedback/VDE-014.md +++ b/docs/feedback/VDE-014.md @@ -1,6 +1,6 @@ --- id: VDE-014 -status: open +status: fixed severity: high category: bug date: 2026-07-27 diff --git a/docs/feedback/VDE-015.md b/docs/feedback/VDE-015.md index f5596cb..daa2640 100644 --- a/docs/feedback/VDE-015.md +++ b/docs/feedback/VDE-015.md @@ -1,6 +1,6 @@ --- id: VDE-015 -status: open +status: fixed severity: medium category: bug date: 2026-07-27 diff --git a/docs/feedback/VDE-016.md b/docs/feedback/VDE-016.md index 9ea28d2..45859be 100644 --- a/docs/feedback/VDE-016.md +++ b/docs/feedback/VDE-016.md @@ -1,6 +1,6 @@ --- id: VDE-016 -status: open +status: fixed severity: high category: bug date: 2026-07-27 diff --git a/include/vde/foundation/io_stl.h b/include/vde/foundation/io_stl.h index 55eaf1a..4d61251 100644 --- a/include/vde/foundation/io_stl.h +++ b/include/vde/foundation/io_stl.h @@ -91,7 +91,6 @@ std::vector read_stl(const std::string& filepath); * @see read_stl, write_stl_ascii * @ingroup foundation */ -void write_stl(const std::string& filepath, const std::vector& tris); bool write_stl(const std::string& filepath, const std::vector& tris); /** @@ -115,7 +114,6 @@ bool write_stl(const std::string& filepath, const std::vector& tris * @see read_stl, write_stl * @ingroup foundation */ -void write_stl_ascii(const std::string& filepath, const std::vector& tris); bool write_stl_ascii(const std::string& filepath, const std::vector& tris); /** @@ -124,8 +122,8 @@ bool write_stl_ascii(const std::string& filepath, const std::vector * 用于与 float 网格数据直接交互,避免 double↔float 显式转换。 */ struct StlTrianglef { - Vector3F normal; - Point3F v0, v1, v2; + Vector3f normal; + Point3f v0, v1, v2; }; /// 转换 double → float 精度 diff --git a/src/brep/ssi_boolean.cpp b/src/brep/ssi_boolean.cpp index d200c0e..fdbaa35 100644 --- a/src/brep/ssi_boolean.cpp +++ b/src/brep/ssi_boolean.cpp @@ -36,6 +36,11 @@ using core::Point3D; using core::Vector3D; using core::AABB3D; +// Forward declarations (defined after anonymous namespace) +AABB3D face_bounds(const BrepModel& body, int face_id); +Vector3D face_normal(const BrepModel& body, int face_id); +struct SSICurveData; + namespace { // ═══════════════════════════════════════════════════════════