Files
ViewDesignEngine/tests/mesh
hm 9bda9f169b feat(brep): point-based entity picking and display mesh audit for host feedback
VDE-1345: add brep::pick_entity (world-space hit point -> nearest B-Rep
face/edge/vertex) so the host can resolve mate entities without treating
display-mesh triangle indices as B-Rep face ids. Ties prefer the more
specific entity (Vertex > Edge > Face); out-of-range/NaN/empty model return
nullopt instead of throwing. Add mesh::display_mesh_triangle_face as the
only safe triangle -> face mapping entry point.

VDE-1276: add mesh::audit_display_mesh, a topology/array consistency audit
for host display-mesh caches (invalid/hidden face tags, unrepresented
faces, failed-face triangles, out-of-range indices, degenerate triangles,
array length mismatches).

Tests: 5 VDE1345EntityPick cases in test_vde1238_entity_geometry and 5
display-mesh audit/mapping cases in test_display_mesh.

test_vde1238_entity_geometry 25/25, test_display_mesh 21/21, test_brep
96/96, PR gate 918/918 (58.66 s).

Docs: new docs/reference/host-entity-pick-2026-11-16.md; kernel-side
handling sections in VDE-1345/VDE-1276; feedback status, remaining gaps
and synthetic host fixtures updated.
2026-11-16 06:46:51 +08:00
..