mesh-examples/12-14-mesh/Me1073.mesh.json
Sources
- CGAL PMP `PMP.filter_stitchable_pairs (manifold validator)` Branch 4 (*vertex-pair-safety-check*: `if(unstitchable_vertices.count(source(p.first,mesh))||…) continue`)
- `MESH_HEAL_COVERAGE.md`.
Description
Five triangular patches in two groups. Contaminating group (A/B/C): three patches with coincident triple seam at (1,0,0)/(0,1,0); Branch 3 marks those seam vertices unstitchable. Victim group (D/E): two patches with coincident boundary edge at (1,0,0)/(1,2,0) — vertex h1 at (1,0,0) is coincident with the contaminated e1. The vertex-pair-safety-check iterates all candidate pairs and finds h1 in unstitchable_vertices → Branch 4 fires; the D/E pair is excluded even though it would otherwise be a valid two-border-edge stitch. All 15 edges boundary (n=1). Euler: V=15, E=15, F=5, chi=5.
Reproducer recipe
Patches A/B/C as in Me1072 (triple coincident seam at e1=(1,0,0), e2=(0,1,0)); Patch D: h0=(3,0,0), h1=(1,0,0), h2=(1,2,0); Patch E: k0=(4,0,0), k1=(1,0,0), k2=(1,2,0); h1 and k1 coincide with e1 (unstitchable); vertex_pair_distance_lt(e1,h1,1e-9); euler V=15,E=15,F=5,chi=5.
Expected kernel behavior
Branch 4 fires; victim pair (h1,h2)/(k1,k2) checked against unstitchable_vertices; h1 found in set (contaminated by Branch 3 from triple-edge seam) → pair skipped; stitchable_pairs excludes this otherwise-legal edge.
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 2.0, 20 0.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 0.0 27 ], 28 [ 29 0.0, 30 1.0, 31 0.0 32 ], 33 [ 34 -1.0, 35 0.0, 36 0.0 37 ], 38 [ 39 1.0, 40 0.0, 41 0.0 42 ], 43 [ 44 0.0, 45 1.0, 46 0.0 47 ], 48 [ 49 3.0, 50 0.0, 51 0.0 52 ], 53 [ 54 1.0, 55 0.0, 56 0.0 57 ], 58 [ 59 1.0, 60 2.0, 61 0.0 62 ], 63 [ 64 4.0, 65 0.0, 66 0.0 67 ], 68 [ 69 1.0, 70 0.0, 71 0.0 72 ], 73 [ 74 1.0, 75 2.0, 76 0.0 77 ] 78 ], 79 "triangles": [ 80 [ 81 0, 82 1, 83 2 84 ], 85 [ 86 3, 87 4, 88 5 89 ], 90 [ 91 6, 92 7, 93 8 94 ], 95 [ 96 9, 97 10, 98 11 99 ], 100 [ 101 12, 102 13, 103 14 104 ] 105 ], 106 "metadata": { 107 "id": "Me1073", 108 "schema_version": 0, 109 "defect_class": "near_coincident_vertex", 110 "title": "filter_stitchable_pairs vertex-pair-safety-check: contaminating triple-edge marks e1/e2 unstitchable (Branch 3); victim pair (h1,h2)/(k1,k2) excluded because h1 in unstitchable_vertices (Branch 4)", 111 "assertions": [ 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 0, 116 1 117 ], 118 "n": 1 119 }, 120 { 121 "kind": "edge_shared_by_n_triangles", 122 "edge": [ 123 0, 124 2 125 ], 126 "n": 1 127 }, 128 { 129 "kind": "edge_shared_by_n_triangles", 130 "edge": [ 131 1, 132 2 133 ], 134 "n": 1 135 }, 136 { 137 "kind": "edge_shared_by_n_triangles", 138 "edge": [ 139 3, 140 4 141 ], 142 "n": 1 143 }, 144 { 145 "kind": "edge_shared_by_n_triangles", 146 "edge": [ 147 3, 148 5 149 ], 150 "n": 1 151 }, 152 { 153 "kind": "edge_shared_by_n_triangles", 154 "edge": [ 155 4, 156 5 157 ], 158 "n": 1 159 }, 160 { 161 "kind": "edge_shared_by_n_triangles", 162 "edge": [ 163 6, 164 7 165 ], 166 "n": 1 167 }, 168 { 169 "kind": "edge_shared_by_n_triangles", 170 "edge": [ 171 6, 172 8 173 ], 174 "n": 1 175 }, 176 { 177 "kind": "edge_shared_by_n_triangles", 178 "edge": [ 179 7, 180 8 181 ], 182 "n": 1 183 }, 184 { 185 "kind": "edge_shared_by_n_triangles", 186 "edge": [ 187 9, 188 10 189 ], 190 "n": 1 191 }, 192 { 193 "kind": "edge_shared_by_n_triangles", 194 "edge": [ 195 9, 196 11 197 ], 198 "n": 1 199 }, 200 { 201 "kind": "edge_shared_by_n_triangles", 202 "edge": [ 203 10, 204 11 205 ], 206 "n": 1 207 }, 208 { 209 "kind": "edge_shared_by_n_triangles", 210 "edge": [ 211 12, 212 13 213 ], 214 "n": 1 215 }, 216 { 217 "kind": "edge_shared_by_n_triangles", 218 "edge": [ 219 12, 220 14 221 ], 222 "n": 1 223 }, 224 { 225 "kind": "edge_shared_by_n_triangles", 226 "edge": [ 227 13, 228 14 229 ], 230 "n": 1 231 }, 232 { 233 "kind": "vertex_pair_distance_lt", 234 "pair": [ 235 1, 236 4 237 ], 238 "lt": 1e-09 239 }, 240 { 241 "kind": "vertex_pair_distance_lt", 242 "pair": [ 243 1, 244 7 245 ], 246 "lt": 1e-09 247 }, 248 { 249 "kind": "vertex_pair_distance_lt", 250 "pair": [ 251 2, 252 5 253 ], 254 "lt": 1e-09 255 }, 256 { 257 "kind": "vertex_pair_distance_lt", 258 "pair": [ 259 2, 260 8 261 ], 262 "lt": 1e-09 263 }, 264 { 265 "kind": "vertex_pair_no_shared_triangle", 266 "pair": [ 267 1, 268 4 269 ] 270 }, 271 { 272 "kind": "vertex_pair_no_shared_triangle", 273 "pair": [ 274 1, 275 7 276 ] 277 }, 278 { 279 "kind": "vertex_pair_no_shared_triangle", 280 "pair": [ 281 2, 282 5 283 ] 284 }, 285 { 286 "kind": "vertex_pair_no_shared_triangle", 287 "pair": [ 288 2, 289 8 290 ] 291 }, 292 { 293 "kind": "vertex_pair_distance_lt", 294 "pair": [ 295 10, 296 13 297 ], 298 "lt": 1e-09 299 }, 300 { 301 "kind": "vertex_pair_distance_lt", 302 "pair": [ 303 11, 304 14 305 ], 306 "lt": 1e-09 307 }, 308 { 309 "kind": "vertex_pair_no_shared_triangle", 310 "pair": [ 311 10, 312 13 313 ] 314 }, 315 { 316 "kind": "vertex_pair_no_shared_triangle", 317 "pair": [ 318 11, 319 14 320 ] 321 }, 322 { 323 "kind": "vertex_pair_distance_lt", 324 "pair": [ 325 1, 326 10 327 ], 328 "lt": 1e-09 329 }, 330 { 331 "kind": "vertex_pair_no_shared_triangle", 332 "pair": [ 333 1, 334 10 335 ] 336 }, 337 { 338 "kind": "euler_characteristic", 339 "v": 15, 340 "e": 15, 341 "f": 5, 342 "chi": 5 343 } 344 ] 345 } 346}