mesh-examples/12-14-mesh/Me291.mesh.json
Sources
- CGAL `PMP.connected_components` Branch 2 @ line 226 (*Visited_vertex_dedup*)
- `MESH_HEAL_COVERAGE.md`.
Description
Component A is a 4-triangle pyramid fan (faces 0-3) all sharing apex v4; Component B is one isolated triangle (face 4). After BFS labels all 4 faces of A as handled, the outer for-loop finds face 4 unhandled (Branch 2 `!handled[get(fimap,f)]` fires) and seeds a new BFS.
Reproducer recipe
v0-v3 square base; v4 apex; t0=(v0,v1,v4), t1=(v1,v2,v4), t2=(v2,v3,v4), t3=(v3,v0,v4). t4=(v5,v6,v7) far away.
Expected kernel behavior
BFS from t0 labels t0-t3 handled; outer loop finds t4 unhandled and labels it CC 1.
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 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 0.5, 25 0.5, 26 1.0 27 ], 28 [ 29 20.0, 30 0.0, 31 0.0 32 ], 33 [ 34 21.0, 35 0.0, 36 0.0 37 ], 38 [ 39 20.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": "Me291", 73 "schema_version": 0, 74 "defect_class": "disconnected_components", 75 "title": "connected_components visited_face_dedup_outer: multi-face CC followed by isolated face exercises handled[] skip", 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": "triangle_not_reachable_from", 111 "target": 4, 112 "source": 0 113 } 114 ] 115 } 116}