mesh-examples/12-14-mesh/Me241.mesh.json
Sources
- CGAL `PMP.remove_connected_components_of_negligible_size` Branch 2 @ line 181 (*volume-threshold-default-inference*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected closed components: a unit tetrahedron (component A) and a micro-tetrahedron at (20,20,20) with edge length 0.001 (volume ≈ 1.18e-10, component B). When no explicit volume threshold is supplied, Branch 2 computes `volume_threshold = 0.01 * bbox_diagonal^3`. Component B's volume is far below this default. Exercises `is_default_volume_threshold` / `bbox_diagonal` inference.
Reproducer recipe
unit tetrahedron at origin (t0-t3); micro-tetrahedron at (20,20,20) with s=0.001 (t4-t7).
Expected kernel behavior
infer volume_threshold from bbox diagonal; micro-component volume < threshold → flagged for removal.
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 20.0, 25 20.0, 26 20.0 27 ], 28 [ 29 20.001, 30 20.0, 31 20.0 32 ], 33 [ 34 20.0005, 35 20.001, 36 20.0 37 ], 38 [ 39 20.0005, 40 20.000333333333334, 41 20.000816 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": "Me241", 88 "schema_version": 0, 89 "defect_class": "disconnected_components", 90 "title": "negligible_size volume_threshold_default: tiny closed component below bbox-derived 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": 1e-06 101 }, 102 { 103 "kind": "triangle_area_lt", 104 "triangle": 5, 105 "lt": 1e-06 106 } 107 ] 108 } 109}