mesh-examples/12-14-mesh/Me375.mesh.json
Sources
- MeshFix `Basic_TMesh.isSelectionSimple` Branch 6 (*boundary_edge_count*: `nae > 1 → break`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two triangle patches sharing a single vertex v0 (bowtie) but no shared edge — a figure-8 shaped selection. All edges are boundary (n=1). When isSelectionSimple traverses the boundary loop, it reaches vertex v0 and finds 4 incident boundary edges (two from each patch): nae >= 2 → Branch 6 fires. v0 has a disconnected fan. t1 not reachable from t0.
Reproducer recipe
v0=(0,0,0) pinch; v1=(-1,-1,0), v2=(1,-1,0); v3=(-1,1,0), v4=(1,1,0); t0=(v0,v1,v2), t1=(v0,v3,v4); all edges n=1; vertex_fan_disconnected(v0); triangle_not_reachable_from target=1 source=0.
Expected kernel behavior
Boundary traversal reaches v0; counts nae > 1 boundary edges; Branch 6 break fires; returns 0 (non-simple).
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 -1.0, 11 0.0 12 ], 13 [ 14 1.0, 15 -1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 1.0, 21 0.0 22 ], 23 [ 24 1.0, 25 1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 3, 38 4 39 ] 40 ], 41 "metadata": { 42 "id": "Me375", 43 "schema_version": 0, 44 "defect_class": "selection_non_simple_boundary", 45 "title": "isSelectionSimple_boundary_edge_count: figure-8 selection with pinch vertex v0 (nae>1 at v0) \u2192 break (Branch 6)", 46 "assertions": [ 47 { 48 "kind": "edge_shared_by_n_triangles", 49 "edge": [ 50 0, 51 1 52 ], 53 "n": 1 54 }, 55 { 56 "kind": "edge_shared_by_n_triangles", 57 "edge": [ 58 1, 59 2 60 ], 61 "n": 1 62 }, 63 { 64 "kind": "edge_shared_by_n_triangles", 65 "edge": [ 66 0, 67 2 68 ], 69 "n": 1 70 }, 71 { 72 "kind": "edge_shared_by_n_triangles", 73 "edge": [ 74 0, 75 3 76 ], 77 "n": 1 78 }, 79 { 80 "kind": "edge_shared_by_n_triangles", 81 "edge": [ 82 3, 83 4 84 ], 85 "n": 1 86 }, 87 { 88 "kind": "edge_shared_by_n_triangles", 89 "edge": [ 90 0, 91 4 92 ], 93 "n": 1 94 }, 95 { 96 "kind": "vertex_fan_disconnected", 97 "vertex": 0 98 }, 99 { 100 "kind": "triangle_not_reachable_from", 101 "target": 1, 102 "source": 0 103 } 104 ] 105 } 106}