mesh-examples/12-14-mesh/Me064.mesh.json
Sources
- CGAL `PMP.split_pinched_polygons_in_polygon_soup` Branch 2 @ line 225 (*small_polygon_skip*)
- `MESH_HEAL_COVERAGE.md`.
Description
the polygon soup has a clean triangle (3 vertices — cannot be pinched) and a pinched hexagon. Branch 2 fires for the triangle: `if(ini_polygon_size <= 3)` is true, so it is skipped with `continue`. Only the hexagon (v3,v4,v5,v3,v6,v7) is scanned and split into (v3,v4,v5) and (v3,v6,v7).
Reproducer recipe
8 vertices; polygon 0 = clean triangle (v0,v1,v2); polygon 1 = hexagon (v3,v4,v5,v3,v6,v7) with v3 repeated.
Expected kernel behavior
skip polygon 0 (size ≤ 3); scan and split polygon 1 at v3; push_back the second sub-triangle.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 5.0, 5 0.0, 6 0.0 7 ], 8 [ 9 6.0, 10 0.0, 11 0.0 12 ], 13 [ 14 5.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 0.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 0.0 27 ], 28 [ 29 0.5, 30 1.0, 31 0.0 32 ], 33 [ 34 -1.0, 35 0.0, 36 0.0 37 ], 38 [ 39 -0.5, 40 1.0, 41 0.0 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 2 49 ], 50 [ 51 3, 52 4, 53 5 54 ], 55 [ 56 3, 57 6, 58 7 59 ] 60 ], 61 "metadata": { 62 "id": "Me064", 63 "schema_version": 0, 64 "defect_class": "pinched_polygon", 65 "title": "small_polygon_skip: triangle (<=3 verts) skipped; adjacent hexagon is pinched", 66 "assertions": [ 67 { 68 "kind": "triangle_not_reachable_from", 69 "target": 0, 70 "source": 1 71 }, 72 { 73 "kind": "vertex_fan_disconnected", 74 "vertex": 3 75 } 76 ] 77 } 78}