mesh-examples/12-14-mesh/Me316.mesh.json
Sources
- MeshFix `holeFilling::watsonInsert` Branch 7 (*CAVITY_TRIANGLE_REMOVAL*: `unlinkTriangleNoManifold(t)` for each marked cavity triangle)
- `MESH_HEAL_COVERAGE.md`.
Description
A 6-triangle hexagonal fan: hub v6=(0,0,0), outer ring v0-v5 at radius 2. All 6 fan triangles lie inside the circumsphere of a newly inserted point near the hub — Branch 7 fires 6 times as each is unlinked. After removal, the outer hexagonal boundary loop (v0..v5) becomes the re-triangulation target.
Reproducer recipe
v0=(2,0,0), v1=(1,1.732,0), v2=(-1,1.732,0), v3=(-2,0,0), v4=(-1,-1.732,0), v5=(1,-1.732,0), v6=(0,0,0); 6 fan triangles; hub edges all n=2; outer edges all n=1; hole_boundary [v0..v5]; euler chi=1.
Expected kernel behavior
Branch 7 fires once per cavity triangle; unlinkTriangleNoManifold removes each; hexagonal hole exposed for Delaunay re-triangulation.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 2.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.0, 10 1.732, 11 0.0 12 ], 13 [ 14 -1.0, 15 1.732, 16 0.0 17 ], 18 [ 19 -2.0, 20 0.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 -1.732, 26 0.0 27 ], 28 [ 29 1.0, 30 -1.732, 31 0.0 32 ], 33 [ 34 0.0, 35 0.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 6 44 ], 45 [ 46 1, 47 2, 48 6 49 ], 50 [ 51 2, 52 3, 53 6 54 ], 55 [ 56 3, 57 4, 58 6 59 ], 60 [ 61 4, 62 5, 63 6 64 ], 65 [ 66 5, 67 0, 68 6 69 ] 70 ], 71 "metadata": { 72 "id": "Me316", 73 "schema_version": 0, 74 "defect_class": "hole_in_hull", 75 "title": "watsonInsert_cavity_triangle_removal: 6 cavity triangles unlinked by unlinkTriangleNoManifold (Branch 7)", 76 "assertions": [ 77 { 78 "kind": "edge_shared_by_n_triangles", 79 "edge": [ 80 0, 81 6 82 ], 83 "n": 2 84 }, 85 { 86 "kind": "edge_shared_by_n_triangles", 87 "edge": [ 88 1, 89 6 90 ], 91 "n": 2 92 }, 93 { 94 "kind": "edge_shared_by_n_triangles", 95 "edge": [ 96 2, 97 6 98 ], 99 "n": 2 100 }, 101 { 102 "kind": "edge_shared_by_n_triangles", 103 "edge": [ 104 3, 105 6 106 ], 107 "n": 2 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 4, 113 6 114 ], 115 "n": 2 116 }, 117 { 118 "kind": "edge_shared_by_n_triangles", 119 "edge": [ 120 5, 121 6 122 ], 123 "n": 2 124 }, 125 { 126 "kind": "edge_shared_by_n_triangles", 127 "edge": [ 128 0, 129 1 130 ], 131 "n": 1 132 }, 133 { 134 "kind": "edge_shared_by_n_triangles", 135 "edge": [ 136 1, 137 2 138 ], 139 "n": 1 140 }, 141 { 142 "kind": "edge_shared_by_n_triangles", 143 "edge": [ 144 2, 145 3 146 ], 147 "n": 1 148 }, 149 { 150 "kind": "edge_shared_by_n_triangles", 151 "edge": [ 152 3, 153 4 154 ], 155 "n": 1 156 }, 157 { 158 "kind": "edge_shared_by_n_triangles", 159 "edge": [ 160 4, 161 5 162 ], 163 "n": 1 164 }, 165 { 166 "kind": "edge_shared_by_n_triangles", 167 "edge": [ 168 0, 169 5 170 ], 171 "n": 1 172 }, 173 { 174 "kind": "hole_boundary", 175 "loop": [ 176 0, 177 1, 178 2, 179 3, 180 4, 181 5 182 ] 183 }, 184 { 185 "kind": "euler_characteristic", 186 "v": 7, 187 "e": 12, 188 "f": 6, 189 "chi": 1 190 } 191 ] 192 } 193}