mesh-examples/12-14-mesh/Me248.mesh.json
Sources
- CGAL `PMP.remove_connected_components_of_negligible_size` Branch 9 @ line 316 (*area-or-volume-removal-logic*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected components: a unit tetrahedron at origin (component A, large) and a micro-tetrahedron at (5,5,5) with edge length 0.02 (component B). Component B satisfies both criteria: total face area ≈ 6.93e-4 < area_threshold 0.01, and volume ≈ 4.71e-8 < volume_threshold 1e-4. Branch 9's OR-condition fires: `(use_volumes && cc_closeness[i] && component_volumes[i] <= volume_threshold) || (use_areas && component_areas[i] <= area_threshold)`.
Reproducer recipe
unit tetrahedron (t0-t3); micro-tetrahedron at (5,5,5) with s=0.02 (t4-t7). Combined mesh: V=8, E=12, F=8, chi=4.
Expected kernel behavior
both area and volume criteria satisfied for component B → flagged for removal; Euler char V=8, E=12, F=8, chi=4.
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 5.0, 25 5.0, 26 5.0 27 ], 28 [ 29 5.02, 30 5.0, 31 5.0 32 ], 33 [ 34 5.01, 35 5.02, 36 5.0 37 ], 38 [ 39 5.01, 40 5.006666666666667, 41 5.01632 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": "Me248", 88 "schema_version": 0, 89 "defect_class": "disconnected_components", 90 "title": "negligible_size removal_logic: tiny closed component satisfies area-or-volume removal OR-condition", 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.001 101 }, 102 { 103 "kind": "triangle_area_lt", 104 "triangle": 5, 105 "lt": 0.001 106 }, 107 { 108 "kind": "triangle_area_lt", 109 "triangle": 6, 110 "lt": 0.001 111 }, 112 { 113 "kind": "triangle_area_lt", 114 "triangle": 7, 115 "lt": 0.001 116 }, 117 { 118 "kind": "euler_characteristic", 119 "v": 8, 120 "e": 12, 121 "f": 8, 122 "chi": 4 123 } 124 ] 125 } 126}