mesh-examples/12-14-mesh/Me334.mesh.json
Sources
- MeshFix `Basic_TMesh.pinch` Branch 5 (*INTERIOR_EDGE_ASYMMETRY*: `else { if (e2->t1 != NULL) { e1->merge(e2)
- } }`)
- `MESH_HEAL_COVERAGE.md`.
Description
Bowtie at v0: two disconnected triangle fans (t0 left-fan, t1 right-fan) sharing vertex v0 but no edges. The edge of interest in e1 carries t2 only (t1==NULL); Branch 5 (else-branch of Branch 4) scans for a mirror edge e2 with e2->t1 set. Both fans' disconnection is the structural defect.
Reproducer recipe
v0=(0,0,0) bowtie; v1=(1,0,0), v2=(0.5,1,0), v3=(-1,0,0), v4=(-0.5,1,0); t0=(v1,v0,v2) left-fan; t1=(v0,v3,v4) right-fan; assert vertex_fan_disconnected v0; assert t1 not reachable from t0.
Expected kernel behavior
Branch 5 fires; `else` branch; mirror e2->t1 found; `e1->merge(e2)` resolves t2-side asymmetry.
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 0.5, 15 1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 -0.5, 25 1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 1, 32 0, 33 2 34 ], 35 [ 36 0, 37 3, 38 4 39 ] 40 ], 41 "metadata": { 42 "id": "Me334", 43 "schema_version": 0, 44 "defect_class": "non_manifold_edge", 45 "title": "pinch_interior_edge_asymmetry_t2: e1->t2 set only, mirror e2->t1 set \u2014 merge resolves asymmetry", 46 "assertions": [ 47 { 48 "kind": "vertex_fan_disconnected", 49 "vertex": 0 50 }, 51 { 52 "kind": "edge_shared_by_n_triangles", 53 "edge": [ 54 0, 55 1 56 ], 57 "n": 1 58 }, 59 { 60 "kind": "edge_shared_by_n_triangles", 61 "edge": [ 62 0, 63 2 64 ], 65 "n": 1 66 }, 67 { 68 "kind": "edge_shared_by_n_triangles", 69 "edge": [ 70 1, 71 2 72 ], 73 "n": 1 74 }, 75 { 76 "kind": "edge_shared_by_n_triangles", 77 "edge": [ 78 0, 79 3 80 ], 81 "n": 1 82 }, 83 { 84 "kind": "edge_shared_by_n_triangles", 85 "edge": [ 86 0, 87 4 88 ], 89 "n": 1 90 }, 91 { 92 "kind": "edge_shared_by_n_triangles", 93 "edge": [ 94 3, 95 4 96 ], 97 "n": 1 98 }, 99 { 100 "kind": "triangle_not_reachable_from", 101 "target": 1, 102 "source": 0 103 } 104 ] 105 } 106}