mesh-examples/12-14-mesh/Me244.mesh.json
Sources
- CGAL `PMP.remove_connected_components_of_negligible_size` Branch 5 @ line 226 (*threshold-criteria-absence*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected components: a unit-square patch (component A) and a tiny triangle at (50,50,0) (component B, area≈5e-5). When both area_threshold=0 and volume_threshold=0, neither `use_areas` nor `use_volumes` is set; Branch 5 (`if (!use_areas && !use_volumes) return 0`) fires immediately without any component being removed.
Reproducer recipe
two unit-square triangles (t0-t1); micro-triangle at (50,50,0) with side 0.01 (t2, area≈5e-5).
Expected kernel behavior
!use_areas && !use_volumes → return 0 before any computation; no removal occurs.
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 50.0, 25 50.0, 26 0.0 27 ], 28 [ 29 50.01, 30 50.0, 31 0.0 32 ], 33 [ 34 50.0, 35 50.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": "Me244", 58 "schema_version": 0, 59 "defect_class": "disconnected_components", 60 "title": "negligible_size no_criteria: !use_areas && !use_volumes \u2192 early return 0", 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}