mesh-examples/12-14-mesh/Me066.mesh.json
Sources
- CGAL `PMP.split_pinched_polygons_in_polygon_soup` Branch 4 @ line 234 (*point_uniqueness_check*)
- `MESH_HEAL_COVERAGE.md`.
Description
a 7-vertex polygon (v0,v1,v2,v3,v4,v2,v5) has v2 at positions 2 and 5. The unique_points map builds up through positions 0–4 (all successful inserts, each triggering Branch 4). At position 5, v2's insert fails → pinch detected. split_polygon_1=(v2,v3,v4) [triangle]; split_polygon_2=(v2,v5,v0,v1) [quad → 2 triangles]. Five successful insert calls before the failure demonstrate Branch 4's repeated firing.
Reproducer recipe
6 vertices; heptagon (v0,v1,v2,v3,v4,v2,v5); v2 at positions 2 and 5.
Expected kernel behavior
insert vertices 0–4 into unique_points without failure; fail at position 5; split at prev_id=2.
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 2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 2.5, 20 1.0, 21 0.0 22 ], 23 [ 24 1.5, 25 1.5, 26 0.0 27 ], 28 [ 29 1.0, 30 -1.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 2, 37 3, 38 4 39 ], 40 [ 41 2, 42 5, 43 0 44 ], 45 [ 46 2, 47 0, 48 1 49 ] 50 ], 51 "metadata": { 52 "id": "Me066", 53 "schema_version": 0, 54 "defect_class": "pinched_polygon", 55 "title": "point_uniqueness_check: 7-gon (v0..v4,v2,v5) \u2014 pinch found at map position 5", 56 "assertions": [ 57 { 58 "kind": "vertex_fan_disconnected", 59 "vertex": 2 60 }, 61 { 62 "kind": "triangle_not_reachable_from", 63 "target": 0, 64 "source": 1 65 } 66 ] 67 } 68}