mesh-examples/12-14-mesh/Me025.mesh.json
Sources
- CGAL `PMP.remove_self_intersections` Branch 15 @ line 2311 (*iteration-convergence-stalling-detection*)
- `MESH_HEAL_COVERAGE.md`.
Description
a large base triangle (tri 0) in the z=0 plane is pierced by two independent intruding triangles at different locations. Each intruder has its apex below z=0. No single hole-fill pass resolves both crossings simultaneously: fixing one does not affect the other, so `something_was_done` stays false after each pass. The stall detector fires, restores the face list, and exits the iteration to avoid an infinite loop.
Reproducer recipe
tri 0 = large flat triangle; tri 1 = intruder with apex at `(1,0.5,-1)` and base above z=0; tri 2 = second intruder with apex at `(1,1,-0.8)` and base above z=0.
Expected kernel behavior
detect two independent SI crossings; attempt hole-fill; detect no topology change (something_was_done=false); restore faces_to_treat and exit iteration.
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 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 2.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.5, 21 -1.0 22 ], 23 [ 24 0.5, 25 1.0, 26 1.0 27 ], 28 [ 29 1.5, 30 1.0, 31 1.0 32 ], 33 [ 34 1.0, 35 1.0, 36 -0.8 37 ], 38 [ 39 0.3, 40 0.3, 41 0.8 42 ], 43 [ 44 1.7, 45 0.3, 46 0.8 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 2 54 ], 55 [ 56 3, 57 4, 58 5 59 ], 60 [ 61 6, 62 7, 63 8 64 ] 65 ], 66 "metadata": { 67 "id": "Me025", 68 "schema_version": 0, 69 "defect_class": "self_intersection_convergence_stall", 70 "title": "dual persistent SI piercers: something_was_done=false convergence stall", 71 "assertions": [ 72 { 73 "kind": "triangles_self_intersect", 74 "triangles": [ 75 0, 76 1 77 ] 78 }, 79 { 80 "kind": "triangles_self_intersect", 81 "triangles": [ 82 0, 83 2 84 ] 85 } 86 ] 87 } 88}