mesh-examples/12-14-mesh/Me243.mesh.json
Sources
- CGAL `PMP.remove_connected_components_of_negligible_size` Branch 4 @ line 224 (*volume-check-applicability*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected closed components: a unit tetrahedron (component A, volume≈0.118) and a micro-tetrahedron at (15,15,15) with edge length 0.05 (volume≈1.47e-5, component B). With explicit volume_threshold=1e-3, `use_volumes` is true and Branch 4 (`if (use_volumes)`) enables volume-based per-component evaluation. Component B falls below threshold.
Reproducer recipe
unit tetrahedron at origin (t0-t3); micro-tetrahedron at (15,15,15) with s=0.05 (t4-t7).
Expected kernel behavior
use_volumes=true; component B is closed and volume < threshold → removed.
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 0.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.5, 20 0.333, 21 0.816 22 ], 23 [ 24 15.0, 25 15.0, 26 15.0 27 ], 28 [ 29 15.05, 30 15.0, 31 15.0 32 ], 33 [ 34 15.025, 35 15.05, 36 15.0 37 ], 38 [ 39 15.025, 40 15.016666666666667, 41 15.0408 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 2, 48 1 49 ], 50 [ 51 0, 52 1, 53 3 54 ], 55 [ 56 1, 57 2, 58 3 59 ], 60 [ 61 0, 62 3, 63 2 64 ], 65 [ 66 4, 67 6, 68 5 69 ], 70 [ 71 4, 72 5, 73 7 74 ], 75 [ 76 5, 77 6, 78 7 79 ], 80 [ 81 4, 82 7, 83 6 84 ] 85 ], 86 "metadata": { 87 "id": "Me243", 88 "schema_version": 0, 89 "defect_class": "disconnected_components", 90 "title": "negligible_size volume_check: use_volumes=true; tiny closed component below explicit volume_threshold", 91 "assertions": [ 92 { 93 "kind": "triangle_not_reachable_from", 94 "target": 4, 95 "source": 0 96 }, 97 { 98 "kind": "triangle_area_lt", 99 "triangle": 4, 100 "lt": 0.005 101 }, 102 { 103 "kind": "triangle_area_lt", 104 "triangle": 5, 105 "lt": 0.005 106 } 107 ] 108 } 109}