mesh-examples/12-14-mesh/Me624.mesh.json
Sources
- MeshFix `Basic_TMesh.removeRegion` Branch 5 (*triangle_unlink_removal*: `unlinkTriangle(s)` @ line 1213)
- `MESH_HEAL_COVERAGE.md`.
Description
Six triangles: three inner triangles forming a hexagonal fan around center C=(0,0,0) (all vertices within L=2.0) plus three outer context triangles. All three inner triangles are collected into the removal region and unlinkTriangle is called for each. Branch 5 fires once per removed triangle.
Reproducer recipe
c=(0,0,0); inner fan t0-t2 all within L=2.0; outer context t3-t5 beyond L. Assert all inner rim edges n=2; euler V=7, E=12, F=6, chi=1.
Expected kernel behavior
Branch 5 fires 3 times; each inner triangle is detached from the mesh structure by unlinkTriangle; outer context triangles remain.
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 0.0, 15 1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 2.0, 25 1.0, 26 0.0 27 ], 28 [ 29 -1.0, 30 2.0, 31 0.0 32 ], 33 [ 34 -2.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 3, 53 1 54 ], 55 [ 56 1, 57 4, 58 2 59 ], 60 [ 61 2, 62 5, 63 3 64 ], 65 [ 66 3, 67 6, 68 1 69 ] 70 ], 71 "metadata": { 72 "id": "Me624", 73 "schema_version": 0, 74 "defect_class": "radial_region_removal", 75 "title": "removeRegion triangle_unlink_removal: 3-triangle inner fan from C=(0,0,0) all within L=2.0 collected into removal region; unlinkTriangle fires for each member (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 1, 105 2 106 ], 107 "n": 2 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 2, 113 3 114 ], 115 "n": 2 116 }, 117 { 118 "kind": "edge_shared_by_n_triangles", 119 "edge": [ 120 1, 121 3 122 ], 123 "n": 2 124 }, 125 { 126 "kind": "edge_shared_by_n_triangles", 127 "edge": [ 128 1, 129 4 130 ], 131 "n": 1 132 }, 133 { 134 "kind": "edge_shared_by_n_triangles", 135 "edge": [ 136 2, 137 4 138 ], 139 "n": 1 140 }, 141 { 142 "kind": "edge_shared_by_n_triangles", 143 "edge": [ 144 2, 145 5 146 ], 147 "n": 1 148 }, 149 { 150 "kind": "edge_shared_by_n_triangles", 151 "edge": [ 152 3, 153 5 154 ], 155 "n": 1 156 }, 157 { 158 "kind": "edge_shared_by_n_triangles", 159 "edge": [ 160 3, 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": "vertex_pair_distance_lt", 175 "pair": [ 176 1, 177 0 178 ], 179 "lt": 2.0 180 }, 181 { 182 "kind": "vertex_pair_distance_lt", 183 "pair": [ 184 2, 185 0 186 ], 187 "lt": 2.0 188 }, 189 { 190 "kind": "vertex_pair_distance_lt", 191 "pair": [ 192 3, 193 0 194 ], 195 "lt": 2.0 196 }, 197 { 198 "kind": "euler_characteristic", 199 "v": 7, 200 "e": 12, 201 "f": 6, 202 "chi": 1 203 } 204 ] 205 } 206}