mesh-examples/12-14-mesh/Me247.mesh.json
Sources
- CGAL `PMP.remove_connected_components_of_negligible_size` Branch 8 @ line 279 (*closed-component-volume-skip*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected components: a closed tetrahedron at origin (component A) and a small open two-triangle patch at (8,8,8) with boundary edges (component B). Branch 8 (`if (!cc_closeness[i]) continue`) skips volume computation for component B since it was marked non-closed by Branch 7. Component B is still removable by area criterion.
Reproducer recipe
unit tetrahedron (t0-t3); small open patch at (8,8,8): v4=(8,8,8), v5=(8.02,8,8), v6=(8.01,8.02,8), v7=(8.03,8.02,8); t4=(v4,v5,v6), t5=(v5,v7,v6) — shared edge (v5,v6); boundary loop [v4,v5,v7,v6].
Expected kernel behavior
!cc_closeness[i] → continue; volume loop skipped for open component; area criterion still applies.
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 8.0, 25 8.0, 26 8.0 27 ], 28 [ 29 8.02, 30 8.0, 31 8.0 32 ], 33 [ 34 8.01, 35 8.02, 36 8.0 37 ], 38 [ 39 8.03, 40 8.02, 41 8.0 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 5, 68 6 69 ], 70 [ 71 5, 72 7, 73 6 74 ] 75 ], 76 "metadata": { 77 "id": "Me247", 78 "schema_version": 0, 79 "defect_class": "disconnected_components", 80 "title": "negligible_size volume_skip_open: non-closed component skips volume via !cc_closeness[i]", 81 "assertions": [ 82 { 83 "kind": "triangle_not_reachable_from", 84 "target": 4, 85 "source": 0 86 }, 87 { 88 "kind": "edge_shared_by_n_triangles", 89 "edge": [ 90 5, 91 6 92 ], 93 "n": 2 94 }, 95 { 96 "kind": "hole_boundary", 97 "loop": [ 98 4, 99 5, 100 7, 101 6 102 ] 103 }, 104 { 105 "kind": "edge_shared_by_n_triangles", 106 "edge": [ 107 4, 108 5 109 ], 110 "n": 1 111 }, 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 4, 116 6 117 ], 118 "n": 1 119 } 120 ] 121 } 122}