mesh-examples/12-14-mesh/Me062.mesh.json
Sources
- CGAL `PMP.split_pinched_polygons_in_polygon_soup` Branches 9+10 @ lines 268–269 (*polygon_replacement*, *new_polygon_append*)
- `MESH_HEAL_COVERAGE.md`.
Description
a 7-vertex polygon (v0,v1,v2,v3,v0,v4,v5) has v0 at positions 0 and 4. After split, Branch 9 fires: std::swap(polygon, split_polygon_1) replaces the current slot with quad (v0,v1,v2,v3). Branch 10 fires: polygons.push_back(split_polygon_2) appends triangle (v0,v4,v5). The pinch hub v0 links the quad (2 triangles) and the appended triangle.
Reproducer recipe
6 vertices; heptagon (v0,v1,v2,v3,v0,v4,v5); quad triangulated as t0=(v0,v1,v2) t1=(v0,v2,v3); appended triangle t2=(v0,v4,v5).
Expected kernel behavior
swap original slot with split_polygon_1 (quad); immediately push_back split_polygon_2 (triangle) for re-processing.
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.5, 11 0.0 12 ], 13 [ 14 2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.5, 21 0.0 22 ], 23 [ 24 -1.0, 25 -0.5, 26 0.0 27 ], 28 [ 29 -1.0, 30 0.5, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 0, 42 2, 43 3 44 ], 45 [ 46 0, 47 4, 48 5 49 ] 50 ], 51 "metadata": { 52 "id": "Me062", 53 "schema_version": 0, 54 "defect_class": "pinched_polygon", 55 "title": "polygon_replacement+new_polygon_append: heptagon (v0..v3,v0,v4,v5) \u2192 quad+triangle", 56 "assertions": [ 57 { 58 "kind": "vertex_fan_disconnected", 59 "vertex": 0 60 }, 61 { 62 "kind": "triangle_not_reachable_from", 63 "target": 2, 64 "source": 0 65 } 66 ] 67 } 68}