mesh-examples/12-14-mesh/Me184.mesh.json
Sources
- MeshFix `Basic_TMesh.splitEdge` Branch 5 (*new_edge_t1_creation*: `ne1 = newEdge(v, v3)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Post-split state of a boundary edge e=(v0,v1) at midpoint vn=(1,0,0). New edge ne1=(vn,v2) is created connecting the split vertex to v3=v2. ne1 is interior (n=2), shared by the trimmed t1=(v0,vn,v2) and new triangle nt1=(vn,v1,v2).
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,1,0), vn=(1,0,0); t0=(v0,vn,v2), t1=(vn,v1,v2).
Expected kernel behavior
ne1=newEdge(vn,v3) created; ne1 is interior shared by trimmed t1 and nt1.
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 1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.0, 21 0.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 0, 27 3, 28 2 29 ], 30 [ 31 3, 32 1, 33 2 34 ] 35 ], 36 "metadata": { 37 "id": "Me184", 38 "schema_version": 0, 39 "defect_class": "split_edge_boundary", 40 "title": "split_edge_new_edge_t1_creation: ne1=(vn,v3) created after boundary edge split", 41 "assertions": [ 42 { 43 "kind": "edge_shared_by_n_triangles", 44 "edge": [ 45 2, 46 3 47 ], 48 "n": 2 49 }, 50 { 51 "kind": "edge_shared_by_n_triangles", 52 "edge": [ 53 0, 54 3 55 ], 56 "n": 1 57 }, 58 { 59 "kind": "edge_shared_by_n_triangles", 60 "edge": [ 61 1, 62 3 63 ], 64 "n": 1 65 }, 66 { 67 "kind": "edge_shared_by_n_triangles", 68 "edge": [ 69 0, 70 2 71 ], 72 "n": 1 73 }, 74 { 75 "kind": "edge_shared_by_n_triangles", 76 "edge": [ 77 1, 78 2 79 ], 80 "n": 1 81 }, 82 { 83 "kind": "vertex_on_edge", 84 "vertex": 3, 85 "edge": [ 86 0, 87 1 88 ] 89 } 90 ] 91 } 92}