mesh-examples/12-14-mesh/Me057.mesh.json
Sources
- CGAL `PMP.self_intersections_impl` Branch 6 @ line 457 (*throw-vs-collect-in-parallel*)
- `MESH_HEAL_COVERAGE.md`.
Description
two independent crossing pairs (pair A at y=0, pair B at y=8). In the parallel (TBB-enabled) path, `throw_on_SI` wraps the `box_self_intersection_d` callback in a throwing filter; whichever TBB thread finds the first intersection raises the exception.
Reproducer recipe
pair A — apex (0,0,0) XY tri0 and XZ tri1; pair B — apex (0,8,0) XY tri2 and XZ tri3 offset in Y.
Expected kernel behavior
parallel throw_on_SI fires on whichever pair a TBB thread encounters first; other pair never reported.
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 1.0, 11 0.0 12 ], 13 [ 14 1.0, 15 -1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.0, 21 1.0 22 ], 23 [ 24 1.0, 25 0.0, 26 -1.0 27 ], 28 [ 29 0.0, 30 8.0, 31 0.0 32 ], 33 [ 34 1.0, 35 9.0, 36 0.0 37 ], 38 [ 39 1.0, 40 7.0, 41 0.0 42 ], 43 [ 44 1.0, 45 8.0, 46 1.0 47 ], 48 [ 49 1.0, 50 8.0, 51 -1.0 52 ] 53 ], 54 "triangles": [ 55 [ 56 0, 57 1, 58 2 59 ], 60 [ 61 0, 62 3, 63 4 64 ], 65 [ 66 5, 67 6, 68 7 69 ], 70 [ 71 5, 72 8, 73 9 74 ] 75 ], 76 "metadata": { 77 "id": "Me057", 78 "schema_version": 0, 79 "defect_class": "self_intersection_parallel_throw", 80 "title": "Parallel throw_on_SI: two crossing pairs; TBB callback fires exception", 81 "assertions": [ 82 { 83 "kind": "triangles_self_intersect", 84 "triangles": [ 85 0, 86 1 87 ] 88 }, 89 { 90 "kind": "triangles_self_intersect", 91 "triangles": [ 92 2, 93 3 94 ] 95 } 96 ] 97 } 98}