mesh-examples/12-14-mesh/Me296.mesh.json
Sources
- CGAL `PMP.connected_components` Branch 7 @ line 242 (*Null_face_check*)
- `MESH_HEAL_COVERAGE.md`.
Description
An open 4-triangle patch (2x2 square subdivided through center vertex v4). Interior edges are shared by 2 triangles; all 4 outer boundary edges are incident on exactly 1 triangle — their opposite halfedge has GT::null_face(). BFS must invoke Branch 7 to skip null-face opposites. An isolated triangle (face 4) forms a second CC.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(2,2,0), v3=(0,2,0), v4=(1,1,0). t0=(v0,v1,v4); t1=(v1,v2,v4); t2=(v2,v3,v4); t3=(v3,v0,v4). Isolated t4 at x=10.
Expected kernel behavior
BFS visits boundary halfedges; Branch 7 guard skips GT::null_face() opposites without crash.
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 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 2.0, 15 2.0, 16 0.0 17 ], 18 [ 19 0.0, 20 2.0, 21 0.0 22 ], 23 [ 24 1.0, 25 1.0, 26 0.0 27 ], 28 [ 29 10.0, 30 0.0, 31 0.0 32 ], 33 [ 34 11.0, 35 0.0, 36 0.0 37 ], 38 [ 39 10.5, 40 1.0, 41 0.0 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 4 49 ], 50 [ 51 1, 52 2, 53 4 54 ], 55 [ 56 2, 57 3, 58 4 59 ], 60 [ 61 3, 62 0, 63 4 64 ], 65 [ 66 5, 67 6, 68 7 69 ] 70 ], 71 "metadata": { 72 "id": "Me296", 73 "schema_version": 0, 74 "defect_class": "disconnected_components", 75 "title": "connected_components null_face_check: open triangulated patch \u2014 BFS hits boundary halfedges with no opposite face", 76 "assertions": [ 77 { 78 "kind": "edge_shared_by_n_triangles", 79 "edge": [ 80 0, 81 4 82 ], 83 "n": 2 84 }, 85 { 86 "kind": "edge_shared_by_n_triangles", 87 "edge": [ 88 1, 89 4 90 ], 91 "n": 2 92 }, 93 { 94 "kind": "edge_shared_by_n_triangles", 95 "edge": [ 96 2, 97 4 98 ], 99 "n": 2 100 }, 101 { 102 "kind": "edge_shared_by_n_triangles", 103 "edge": [ 104 3, 105 4 106 ], 107 "n": 2 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 0, 113 1 114 ], 115 "n": 1 116 }, 117 { 118 "kind": "edge_shared_by_n_triangles", 119 "edge": [ 120 1, 121 2 122 ], 123 "n": 1 124 }, 125 { 126 "kind": "edge_shared_by_n_triangles", 127 "edge": [ 128 2, 129 3 130 ], 131 "n": 1 132 }, 133 { 134 "kind": "edge_shared_by_n_triangles", 135 "edge": [ 136 0, 137 3 138 ], 139 "n": 1 140 }, 141 { 142 "kind": "triangle_not_reachable_from", 143 "target": 4, 144 "source": 0 145 } 146 ] 147 } 148}