mesh-examples/12-14-mesh/Me097.mesh.json
Sources
- MeshFix `Edge.collapseOnV1` Branch 12 (*MARK_UNLINKED_V2*: `v2->e0 = NULL`)
- `MESH_HEAL_COVERAGE.md`.
Description
v0 is an isolated (unreferenced) vertex — the state MeshFix leaves behind when Branch 12 marks v2 unlinked after a collapse (`v2->e0 = NULL`). The mesh retains the vertex record but no triangle references it. The fixture captures this post-collapse orphan state directly.
Reproducer recipe
v0=(5,5,0) [isolated]; v1=(0,0,0), v2=(1,0,0), v3=(0.5,1,0), v4=(0.5,-1,0); t0=(v1,v2,v3), t1=(v1,v4,v2). v0 has no triangle references.
Expected kernel behavior
detect and remove the isolated vertex (garbage-collect the orphan).
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 5.0, 5 5.0, 6 0.0 7 ], 8 [ 9 0.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 0.0, 16 0.0 17 ], 18 [ 19 0.5, 20 1.0, 21 0.0 22 ], 23 [ 24 0.5, 25 -1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 1, 32 2, 33 3 34 ], 35 [ 36 1, 37 4, 38 2 39 ] 40 ], 41 "metadata": { 42 "id": "Me097", 43 "schema_version": 0, 44 "defect_class": "isolated_vertex", 45 "title": "edge_collapse_orphan_vertex: isolated vertex left behind by collapse cleanup", 46 "assertions": [ 47 { 48 "kind": "isolated_vertex", 49 "vertex": 0 50 }, 51 { 52 "kind": "edge_shared_by_n_triangles", 53 "edge": [ 54 1, 55 2 56 ], 57 "n": 2 58 }, 59 { 60 "kind": "edge_shared_by_n_triangles", 61 "edge": [ 62 1, 63 3 64 ], 65 "n": 1 66 }, 67 { 68 "kind": "edge_shared_by_n_triangles", 69 "edge": [ 70 1, 71 4 72 ], 73 "n": 1 74 }, 75 { 76 "kind": "edge_shared_by_n_triangles", 77 "edge": [ 78 2, 79 3 80 ], 81 "n": 1 82 }, 83 { 84 "kind": "edge_shared_by_n_triangles", 85 "edge": [ 86 2, 87 4 88 ], 89 "n": 1 90 } 91 ] 92 } 93}