mesh-examples/12-14-mesh/Me294.mesh.json
Sources
- CGAL `PMP.connected_components` Branch 5 @ line 237 (*Iteration_construct*)
- `MESH_HEAL_COVERAGE.md`.
Description
A hexagonal fan: center triangle (face 0) surrounded by 3 inner rim triangles (faces 1-3), each with one outer triangle (faces 4-6). When BFS processes the center triangle, the inner for-loop over halfedges (Branch 5) iterates all 3 halfedges, discovering all 3 rim neighbors. An isolated noise triangle (face 7) forms a second CC.
Reproducer recipe
c0=(0,0,0), c1=(2,0,0), c2=(1,2,0); r0=(1,-2,0), r1=(3,1,0), r2=(-1,1,0); ro0=(-1,-2,0), ro1=(4,-1,0), ro2=(-2,3,0). center=(c0,c1,c2); rims and outers adjacent. Isolated noise at x=20.
Expected kernel behavior
BFS inner for-loop cycles 3 times per face; center's 3 halfedges discover 3 rim neighbors in one pass.
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 1.0, 15 2.0, 16 0.0 17 ], 18 [ 19 1.0, 20 -2.0, 21 0.0 22 ], 23 [ 24 3.0, 25 1.0, 26 0.0 27 ], 28 [ 29 -1.0, 30 1.0, 31 0.0 32 ], 33 [ 34 -1.0, 35 -2.0, 36 0.0 37 ], 38 [ 39 4.0, 40 -1.0, 41 0.0 42 ], 43 [ 44 -2.0, 45 3.0, 46 0.0 47 ], 48 [ 49 20.0, 50 0.0, 51 0.0 52 ], 53 [ 54 21.0, 55 0.0, 56 0.0 57 ], 58 [ 59 20.5, 60 1.0, 61 0.0 62 ] 63 ], 64 "triangles": [ 65 [ 66 0, 67 1, 68 2 69 ], 70 [ 71 0, 72 3, 73 1 74 ], 75 [ 76 1, 77 4, 78 2 79 ], 80 [ 81 2, 82 5, 83 0 84 ], 85 [ 86 0, 87 6, 88 3 89 ], 90 [ 91 1, 92 4, 93 7 94 ], 95 [ 96 2, 97 8, 98 5 99 ], 100 [ 101 9, 102 10, 103 11 104 ] 105 ], 106 "metadata": { 107 "id": "Me294", 108 "schema_version": 0, 109 "defect_class": "disconnected_components", 110 "title": "connected_components inner halfedge iteration: hexagonal fan \u2014 center triangle has 3 neighbors discovered via 3 halfedges", 111 "assertions": [ 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 0, 116 1 117 ], 118 "n": 2 119 }, 120 { 121 "kind": "edge_shared_by_n_triangles", 122 "edge": [ 123 1, 124 2 125 ], 126 "n": 2 127 }, 128 { 129 "kind": "edge_shared_by_n_triangles", 130 "edge": [ 131 0, 132 2 133 ], 134 "n": 2 135 }, 136 { 137 "kind": "edge_shared_by_n_triangles", 138 "edge": [ 139 0, 140 3 141 ], 142 "n": 2 143 }, 144 { 145 "kind": "edge_shared_by_n_triangles", 146 "edge": [ 147 1, 148 4 149 ], 150 "n": 2 151 }, 152 { 153 "kind": "edge_shared_by_n_triangles", 154 "edge": [ 155 2, 156 5 157 ], 158 "n": 2 159 }, 160 { 161 "kind": "triangle_not_reachable_from", 162 "target": 7, 163 "source": 0 164 } 165 ] 166 } 167}