mesh-examples/12-14-mesh/Me061.mesh.json
Sources
- CGAL `PMP.split_pinched_polygons_in_polygon_soup` Branch 7 @ line 252 (*split_polygon_1*)
- `MESH_HEAL_COVERAGE.md`.
Description
a 7-vertex polygon (v0,v1,v2,v3,v1,v4,v5) has v1 at positions 1 and 4. Branch 7 fires: split_polygon_1 = polygon[prev_id..i] = (v1,v2,v3,v1) which simplifies to triangle (v1,v2,v3). Branch 8 fires: split_polygon_2 = (v0,v1,v4,v5) [quad → 2 triangles]. The pinch vertex v1 connects both sub-polygon groups; its fan is disconnected.
Reproducer recipe
6 vertices; heptagon (v0,v1,v2,v3,v1,v4,v5); triangle (v1,v2,v3) + quad (v0,v1,v4,v5).
Expected kernel behavior
slice polygon[1..4] to form first sub-polygon (triangle); wrap remainder into second sub-polygon (quad); push_back second.
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 1.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.5, 20 1.5, 21 0.0 22 ], 23 [ 24 2.0, 25 0.0, 26 0.0 27 ], 28 [ 29 2.0, 30 1.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 1, 37 2, 38 3 39 ], 40 [ 41 0, 42 1, 43 4 44 ], 45 [ 46 0, 47 4, 48 5 49 ] 50 ], 51 "metadata": { 52 "id": "Me061", 53 "schema_version": 0, 54 "defect_class": "pinched_polygon", 55 "title": "split_polygon_1: heptagon pinched at v1 (pos 1 and 4) \u2192 triangle + quad sub-polygons", 56 "assertions": [ 57 { 58 "kind": "vertex_fan_disconnected", 59 "vertex": 1 60 }, 61 { 62 "kind": "triangle_not_reachable_from", 63 "target": 0, 64 "source": 1 65 } 66 ] 67 } 68}