mesh-examples/12-14-mesh/Me306.mesh.json
Sources
- MeshFix `Basic_TMesh.retriangulateSelectedRegion` Branch 7 (*vertex_list_extraction*: `vl = ((List *)ms->head()->next()->data)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Quadrilateral hole (v0..v3) plus one isolated Steiner vertex vs=(1.5,1.5,0) that was interior to the unlinked region. After unlinking, vs is unreferenced by any remaining triangle — it is the `vl` vertex list entry for TriangulateHole. Four frame triangles bound the hole; vs is confirmed as isolated_vertex.
Reproducer recipe
v0..v3 as hole quad; vs=(1.5,1.5,0) isolated; 4 frame triangles; assert isolated_vertex=vs; hole_boundary=[v0,v1,v2,v3]; boundary edges n=1.
Expected kernel behavior
Branch 7 extracts `vl = ms->head()->next()->data`; vl is the list containing vs; passed to TriangulateHole as Steiner points.
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 3.0, 10 0.0, 11 0.0 12 ], 13 [ 14 3.0, 15 3.0, 16 0.0 17 ], 18 [ 19 0.0, 20 3.0, 21 0.0 22 ], 23 [ 24 1.5, 25 1.5, 26 0.0 27 ], 28 [ 29 1.5, 30 -2.0, 31 0.0 32 ], 33 [ 34 5.0, 35 1.5, 36 0.0 37 ], 38 [ 39 1.5, 40 5.0, 41 0.0 42 ], 43 [ 44 -2.0, 45 1.5, 46 0.0 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 5 54 ], 55 [ 56 1, 57 2, 58 6 59 ], 60 [ 61 2, 62 3, 63 7 64 ], 65 [ 66 3, 67 0, 68 8 69 ] 70 ], 71 "metadata": { 72 "id": "Me306", 73 "schema_version": 0, 74 "defect_class": "retriangulate_region_steiner_vertex", 75 "title": "retriangulateSelectedRegion_vertex_list_extraction: vl = internal vertex list (Branch 7)", 76 "assertions": [ 77 { 78 "kind": "isolated_vertex", 79 "vertex": 4 80 }, 81 { 82 "kind": "hole_boundary", 83 "loop": [ 84 0, 85 1, 86 2, 87 3 88 ] 89 }, 90 { 91 "kind": "edge_shared_by_n_triangles", 92 "edge": [ 93 0, 94 1 95 ], 96 "n": 1 97 }, 98 { 99 "kind": "edge_shared_by_n_triangles", 100 "edge": [ 101 1, 102 2 103 ], 104 "n": 1 105 }, 106 { 107 "kind": "edge_shared_by_n_triangles", 108 "edge": [ 109 2, 110 3 111 ], 112 "n": 1 113 }, 114 { 115 "kind": "edge_shared_by_n_triangles", 116 "edge": [ 117 0, 118 3 119 ], 120 "n": 1 121 } 122 ] 123 } 124}