mesh-examples/12-14-mesh/Me416.mesh.json
Sources
- MeshFix `holeFilling::refineSelectedHolePatches` Branch 7 (*VERTEX_INSERTION_CONVERGENCE*: `if (pnnt == nnt) gits++
- if (gits >= 10) break
- `)
- `MESH_HEAL_COVERAGE.md`.
Description
Four small triangles in a fan around hub v4=(0.5,0.5,0) with unit outer edges. Outer boundary edges are each 1.0 → sigma=1.0. Hub spoke lengths ≈0.707; vertex-to-centroid distances ≈0.527 < sigma=1.0 for all triangles. All density checks fail → no centroid vertex inserted → nnt==pnnt → Branch 7: gits incremented. After 10 consecutive empty iterations the loop breaks. Hub-spoke distances <0.8 confirm vertex proximity to centroid. Euler: V=5, E=8, F=4, chi=1.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(1,1,0), v3=(0,1,0), v4=(0.5,0.5,0); t0=(v0,v1,v4), t1=(v1,v2,v4), t2=(v2,v3,v4), t3=(v3,v0,v4); hub spokes n=2; outer edges n=1; assert_vertex_pair_distance_lt(v0,v4,0.8)×4; euler V=5,E=8,F=4,chi=1.
Expected kernel behavior
Branch 7 fires each iteration: all dv < sigma → no splitTriangle → nnt unchanged → pnnt==nnt → gits++; after 10 iterations gits reaches 10 and the refinement loop exits.
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 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 0.5, 25 0.5, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 4 34 ], 35 [ 36 1, 37 2, 38 4 39 ], 40 [ 41 2, 42 3, 43 4 44 ], 45 [ 46 3, 47 0, 48 4 49 ] 50 ], 51 "metadata": { 52 "id": "Me416", 53 "schema_version": 0, 54 "defect_class": "hole_in_hull", 55 "title": "refineSelectedHolePatches_vertex_insertion_convergence: no new vertices inserted, gits incremented (Branch 7)", 56 "assertions": [ 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 4 62 ], 63 "n": 2 64 }, 65 { 66 "kind": "edge_shared_by_n_triangles", 67 "edge": [ 68 1, 69 4 70 ], 71 "n": 2 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 2, 77 4 78 ], 79 "n": 2 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 3, 85 4 86 ], 87 "n": 2 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 0, 93 1 94 ], 95 "n": 1 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 1, 101 2 102 ], 103 "n": 1 104 }, 105 { 106 "kind": "edge_shared_by_n_triangles", 107 "edge": [ 108 2, 109 3 110 ], 111 "n": 1 112 }, 113 { 114 "kind": "edge_shared_by_n_triangles", 115 "edge": [ 116 0, 117 3 118 ], 119 "n": 1 120 }, 121 { 122 "kind": "vertex_pair_distance_lt", 123 "pair": [ 124 0, 125 4 126 ], 127 "lt": 0.8 128 }, 129 { 130 "kind": "vertex_pair_distance_lt", 131 "pair": [ 132 1, 133 4 134 ], 135 "lt": 0.8 136 }, 137 { 138 "kind": "vertex_pair_distance_lt", 139 "pair": [ 140 2, 141 4 142 ], 143 "lt": 0.8 144 }, 145 { 146 "kind": "vertex_pair_distance_lt", 147 "pair": [ 148 3, 149 4 150 ], 151 "lt": 0.8 152 }, 153 { 154 "kind": "euler_characteristic", 155 "v": 5, 156 "e": 8, 157 "f": 4, 158 "chi": 1 159 } 160 ] 161 } 162}