Me065 — dynamic_polygon_iteration: double-pinched 9-gon grows polygon list via push_back cascade

§12.14 mesh defects (sub-class: pinched-polygon/dynamic-polygon-iteration)

units

Sources

Description

a 9-vertex polygon has v0 at positions 0, 3, and 6. The inner loop breaks at the first pinch (position 3), splits into triangle (v0,v1,v2) and a new pinched hexagon (v0,v3,v4,v0,v5,v6) pushed back. The outer loop re-evaluates polygons.size() (Branch 1) and finds the new entry, then processes it to produce two more triangles. All three final triangles share only the hub v0 with a three-way disconnected fan.

Reproducer recipe

7 vertices; original polygon has v0 thrice; after two split passes: triangles (v0,v1,v2), (v0,v3,v4), (v0,v5,v6).

Expected kernel behavior

outer loop uses polygons.size() as upper bound, not a fixed snapshot; grows to process push_back'd polygons in subsequent iterations.

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      0.7,
15      0.7,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      -0.7,
25      0.7,
26      0.0
27    ],
28    [
29      -1.0,
30      0.0,
31      0.0
32    ],
33    [
34      -0.7,
35      -0.7,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      0,
47      3,
48      4
49    ],
50    [
51      0,
52      5,
53      6
54    ]
55  ],
56  "metadata": {
57    "id": "Me065",
58    "schema_version": 0,
59    "defect_class": "pinched_polygon",
60    "title": "dynamic_polygon_iteration: double-pinched 9-gon grows polygon list via push_back cascade",
61    "assertions": [
62      {
63        "kind": "vertex_fan_disconnected",
64        "vertex": 0
65      },
66      {
67        "kind": "triangle_not_reachable_from",
68        "target": 1,
69        "source": 0
70      },
71      {
72        "kind": "triangle_not_reachable_from",
73        "target": 2,
74        "source": 0
75      }
76    ]
77  }
78}