mesh-examples/12-14-mesh/Me023.mesh.json
Sources
- CGAL `PMP.remove_self_intersections` Branch 12 @ line 2041 (*expansion-step-depth-control*)
- `MESH_HEAL_COVERAGE.md`.
Description
triangles 0 and 1 cross at the center (XY and XZ planes). Triangles 2–5 form a surrounding belt sharing edges with the center pair. The center pair alone has non-disk topology; only after expanding by 2 topological steps (step > 0) does the selection become disk-fillable. This exercises the expand_face_selection loop that iteratively grows the face set.
Reproducer recipe
center crossing pair (no shared vertices except apex); 4 belt triangles each sharing one edge with a center triangle; no isolated vertices.
Expected kernel behavior
detect that the initial SI region is not disk-fillable; expand by step parameter; include belt triangles before hole-filling.
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 2.0, 30 1.0, 31 0.0 32 ], 33 [ 34 2.0, 35 -1.0, 36 0.0 37 ], 38 [ 39 2.0, 40 0.0, 41 1.5 42 ], 43 [ 44 2.0, 45 0.0, 46 -1.5 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 2 54 ], 55 [ 56 0, 57 3, 58 4 59 ], 60 [ 61 1, 62 5, 63 2 64 ], 65 [ 66 3, 67 7, 68 4 69 ], 70 [ 71 1, 72 3, 73 5 74 ], 75 [ 76 2, 77 4, 78 6 79 ] 80 ], 81 "metadata": { 82 "id": "Me023", 83 "schema_version": 0, 84 "defect_class": "self_intersection_expansion_needed", 85 "title": "SI pair surrounded by expansion belt: expand_face_selection branch", 86 "assertions": [ 87 { 88 "kind": "triangles_self_intersect", 89 "triangles": [ 90 0, 91 1 92 ] 93 }, 94 { 95 "kind": "edge_shared_by_n_triangles", 96 "edge": [ 97 1, 98 2 99 ], 100 "n": 2 101 } 102 ] 103 } 104}