mesh-examples/12-14-mesh/Me295.mesh.json
Sources
- CGAL `PMP.connected_components` Branch 6 @ line 239 (*Logic_guard*)
- `MESH_HEAL_COVERAGE.md`.
Description
Two triangles t0=(v0,v1,v2) and t1=(v0,v2,v3) share interior edge (v0,v2). When that edge is marked constrained in the ecmap, Branch 6's `get(ecmap, edge(h, pmesh))` check returns true and BFS does not cross it — each triangle becomes its own CC. Two additional isolated triangles complete the multi-CC scenario.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(1,1,0), v3=(0,1,0). t0=(v0,v1,v2); t1=(v0,v2,v3). Shared edge (v0,v2). Isolated t2 at x=5, t3 at x=10.
Expected kernel behavior
Branch 6 checks ecmap; constrained edge prevents BFS crossing; t0 and t1 receive different CC labels.
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 5.0, 25 0.0, 26 0.0 27 ], 28 [ 29 6.0, 30 0.0, 31 0.0 32 ], 33 [ 34 5.5, 35 1.0, 36 0.0 37 ], 38 [ 39 10.0, 40 0.0, 41 0.0 42 ], 43 [ 44 11.0, 45 0.0, 46 0.0 47 ], 48 [ 49 10.5, 50 1.0, 51 0.0 52 ] 53 ], 54 "triangles": [ 55 [ 56 0, 57 1, 58 2 59 ], 60 [ 61 0, 62 2, 63 3 64 ], 65 [ 66 4, 67 5, 68 6 69 ], 70 [ 71 7, 72 8, 73 9 74 ] 75 ], 76 "metadata": { 77 "id": "Me295", 78 "schema_version": 0, 79 "defect_class": "disconnected_components", 80 "title": "connected_components logic_guard_ecmap: constrained interior edge creates CC boundary on otherwise-connected quad", 81 "assertions": [ 82 { 83 "kind": "edge_shared_by_n_triangles", 84 "edge": [ 85 0, 86 2 87 ], 88 "n": 2 89 }, 90 { 91 "kind": "triangle_not_reachable_from", 92 "target": 2, 93 "source": 0 94 }, 95 { 96 "kind": "triangle_not_reachable_from", 97 "target": 3, 98 "source": 0 99 }, 100 { 101 "kind": "triangle_not_reachable_from", 102 "target": 3, 103 "source": 2 104 } 105 ] 106 } 107}