mesh-examples/12-14-mesh/Me634.mesh.json
Sources
- MeshFix `Basic_TMesh.growSelection` Branch 5 (*vertex_unmark_cleanup*: `FOREACHVERTEX(v, n) UNMARK_VISIT(v)` @ line 708)
- `MESH_HEAL_COVERAGE.md`.
Description
A 6-triangle fan around central vertex v0 with t0 pre-selected. After the two-pass grow (t1 and t5 are selected by adjacency), a cleanup pass iterates all 7 vertices (v0-v6) and clears their temporary VISITED flags. Branch 5 fires 7 times — once per vertex.
Reproducer recipe
v0=(0,0,0) central; 6 rim vertices; t0 pre-selected; t1,t5 selected by grow; all spoke edges n=2; rim edges n=1. Assert euler V=7, E=12, F=6, chi=1.
Expected kernel behavior
Branch 5 fires 7 times (once per vertex); all temporary MARK_VISIT flags cleared after the grow pass.
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 0.0, 20 2.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 1.0, 26 0.0 27 ], 28 [ 29 -2.0, 30 0.0, 31 0.0 32 ], 33 [ 34 0.0, 35 -1.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 2, 48 3 49 ], 50 [ 51 0, 52 6, 53 1 54 ], 55 [ 56 0, 57 3, 58 4 59 ], 60 [ 61 0, 62 4, 63 5 64 ], 65 [ 66 0, 67 5, 68 6 69 ] 70 ], 71 "metadata": { 72 "id": "Me634", 73 "schema_version": 0, 74 "defect_class": "non_manifold_edge", 75 "title": "growSelection vertex_unmark_cleanup: FOREACHVERTEX UNMARK_VISIT fires 7 times after grow; 6-triangle fan around central v0 (Branch 5)", 76 "assertions": [ 77 { 78 "kind": "edge_shared_by_n_triangles", 79 "edge": [ 80 0, 81 1 82 ], 83 "n": 2 84 }, 85 { 86 "kind": "edge_shared_by_n_triangles", 87 "edge": [ 88 0, 89 2 90 ], 91 "n": 2 92 }, 93 { 94 "kind": "edge_shared_by_n_triangles", 95 "edge": [ 96 0, 97 3 98 ], 99 "n": 2 100 }, 101 { 102 "kind": "edge_shared_by_n_triangles", 103 "edge": [ 104 0, 105 4 106 ], 107 "n": 2 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 0, 113 5 114 ], 115 "n": 2 116 }, 117 { 118 "kind": "edge_shared_by_n_triangles", 119 "edge": [ 120 0, 121 6 122 ], 123 "n": 2 124 }, 125 { 126 "kind": "edge_shared_by_n_triangles", 127 "edge": [ 128 1, 129 2 130 ], 131 "n": 1 132 }, 133 { 134 "kind": "edge_shared_by_n_triangles", 135 "edge": [ 136 2, 137 3 138 ], 139 "n": 1 140 }, 141 { 142 "kind": "edge_shared_by_n_triangles", 143 "edge": [ 144 3, 145 4 146 ], 147 "n": 1 148 }, 149 { 150 "kind": "edge_shared_by_n_triangles", 151 "edge": [ 152 4, 153 5 154 ], 155 "n": 1 156 }, 157 { 158 "kind": "edge_shared_by_n_triangles", 159 "edge": [ 160 5, 161 6 162 ], 163 "n": 1 164 }, 165 { 166 "kind": "edge_shared_by_n_triangles", 167 "edge": [ 168 1, 169 6 170 ], 171 "n": 1 172 }, 173 { 174 "kind": "euler_characteristic", 175 "v": 7, 176 "e": 12, 177 "f": 6, 178 "chi": 1 179 } 180 ] 181 } 182}