mesh-examples/12-14-mesh/Me245.mesh.json
Sources
- CGAL `PMP.remove_connected_components_of_negligible_size` Branch 6 @ line 237 (*dry-run-vs-mutation*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected components: a unit-square patch (component A) and a tiny triangle at (30,30,0) (component B, area≈5e-5). With `dry_run=true`, Branch 6 (`if (dry_run)`) collects removable faces into the output iterator but does NOT call `remove_faces` — the mesh remains intact. Only the count of removable faces is returned.
Reproducer recipe
two unit-square triangles (t0-t1); micro-triangle at (30,30,0) with side 0.01 (t2, area≈5e-5).
Expected kernel behavior
dry_run=true → collect but do not remove; mesh unchanged after call.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 0.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 30.0, 25 30.0, 26 0.0 27 ], 28 [ 29 30.01, 30 30.0, 31 0.0 32 ], 33 [ 34 30.0, 35 30.01, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 2, 48 3 49 ], 50 [ 51 4, 52 5, 53 6 54 ] 55 ], 56 "metadata": { 57 "id": "Me245", 58 "schema_version": 0, 59 "defect_class": "disconnected_components", 60 "title": "negligible_size dry_run: collect-only mode; micro-component identified but mesh not mutated", 61 "assertions": [ 62 { 63 "kind": "triangle_not_reachable_from", 64 "target": 2, 65 "source": 0 66 }, 67 { 68 "kind": "triangle_area_lt", 69 "triangle": 2, 70 "lt": 0.001 71 } 72 ] 73 } 74}