mesh-examples/12-14-mesh/Me124.mesh.json
Sources
- MeshFix `Vertex.inverseCollapse` Branch 5 (*vertex_redirection_e2_to_e3*: `f->replaceVertex(this, v2)` x1)
- `MESH_HEAL_COVERAGE.md`.
Description
v0 has a 5-triangle fan; the split sector spans 2 triangles. The intermediate spoke (v0,v3) between e2=(v0,v2) and e3=(v0,v4) is redirected to v_new in one replaceVertex call. The pre-split spoke is interior (n=2).
Reproducer recipe
v0=(0,0,0) with v1..v5; t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v0,v3,v4), t3=(v0,v4,v5), t4=(v0,v5,v1).
Expected kernel behavior
call f->replaceVertex(this, v2) once for the intermediate edge (v0,v3).
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 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 -0.5, 25 1.0, 26 0.0 27 ], 28 [ 29 -1.0, 30 0.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 0, 42 2, 43 3 44 ], 45 [ 46 0, 47 3, 48 4 49 ], 50 [ 51 0, 52 4, 53 5 54 ], 55 [ 56 0, 57 5, 58 1 59 ] 60 ], 61 "metadata": { 62 "id": "Me124", 63 "schema_version": 0, 64 "defect_class": "inverse_collapse_split_vertex", 65 "title": "inverse_collapse_vertex_redirection: 1 intermediate edge redirected from v0 to v_new", 66 "assertions": [ 67 { 68 "kind": "edge_shared_by_n_triangles", 69 "edge": [ 70 0, 71 2 72 ], 73 "n": 2 74 }, 75 { 76 "kind": "edge_shared_by_n_triangles", 77 "edge": [ 78 0, 79 4 80 ], 81 "n": 2 82 }, 83 { 84 "kind": "edge_shared_by_n_triangles", 85 "edge": [ 86 0, 87 3 88 ], 89 "n": 2 90 }, 91 { 92 "kind": "edge_shared_by_n_triangles", 93 "edge": [ 94 0, 95 1 96 ], 97 "n": 2 98 }, 99 { 100 "kind": "edge_shared_by_n_triangles", 101 "edge": [ 102 0, 103 5 104 ], 105 "n": 2 106 }, 107 { 108 "kind": "edge_shared_by_n_triangles", 109 "edge": [ 110 2, 111 3 112 ], 113 "n": 1 114 }, 115 { 116 "kind": "edge_shared_by_n_triangles", 117 "edge": [ 118 3, 119 4 120 ], 121 "n": 1 122 }, 123 { 124 "kind": "edge_shared_by_n_triangles", 125 "edge": [ 126 4, 127 5 128 ], 129 "n": 1 130 } 131 ] 132 } 133}