mesh-examples/12-14-mesh/Me692.mesh.json
Sources
- CGAL `PMP.connected_component` Branch 3 @ line 146 (*Iteration_construct*)
- `MESH_HEAL_COVERAGE.md`.
Description
A 7-triangle hub: center triangle (f0) surrounded by 3 inner rim triangles (f1-f3) each with one outer triangle (f4-f6). When BFS processes the center, the `for` loop over its 3 halfedges iterates 3 times to discover f1, f2, f3. Each rim face's for-loop then discovers the outer faces. An isolated triangle (f7) forms a second CC.
Reproducer recipe
c0=(0,0,0), c1=(2,0,0), c2=(1,2,0); r0=(1,-2,0), r1=(3.5,1,0), r2=(-1.5,1,0); o0=(-0.5,-3,0), o1=(5,0,0), o2=(-3,2,0). center=(c0,c1,c2); rims share one edge each with center; outers share one edge each with rims. iso at x=20.
Expected kernel behavior
BFS for-loop cycles 3 times per face when processing the center and each rim triangle.
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.5, 25 1.0, 26 0.0 27 ], 28 [ 29 -1.5, 30 1.0, 31 0.0 32 ], 33 [ 34 -0.5, 35 -3.0, 36 0.0 37 ], 38 [ 39 5.0, 40 0.0, 41 0.0 42 ], 43 [ 44 -3.0, 45 2.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": "Me692", 108 "schema_version": 0, 109 "defect_class": "disconnected_components", 110 "title": "connected_component iteration_construct: center triangle has 3 neighbors discovered via for-loop over 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}