Files
ViewDesignEngine/include/vde
hm b12854eb3b
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
VDE-333: 补齐实时光标捕捉 / 多候选批量捕捉 / 网格捕捉真实 API
审计判定 Partially Fixed 成立:既有签名不同的近似实现不满足提案。
- geometric_snap.h/.cpp: 抽出 collect_snap_candidates,与 snap_to_geometry 共用候选逻辑
- snap_ext.h/.cpp 新增:
  * LiveSnapConfig + live_snap(孔径向 aperture_size + 粘滞 sticky_radius)
  * 多候选 batch_snap(body,near,types,tol,max) 按距离升序、max_candidates 截断
    (与既有"多体取最优" batch_snap(bodies,...) 重载并存)
  * GridConfig + grid_snap(point,GridConfig):任意 U/V 平面内吸附,面外分量保留
- tests/brep/test_proposal_ext.cpp 追加 5 用例,逐点独立复算距离/吸附坐标

验证:test_proposal_ext 30/30、test_geometric_snap 13/13 全绿
2026-10-05 21:18:53 +08:00
..