Me060 — pinch_detection: hexagon (v0,v1,v2,v0,v3,v4) — v0 repeated at position 3

§12.14 mesh defects (sub-class: pinched-polygon/pinch-detection)

units

Sources

Description

a 6-vertex polygon has its first vertex (v0) repeated at position 3, forming a figure-8 pinch. When the unique_points.insert() call fails at position 3, pinch_detection fires. The polygon splits into two triangles (v0,v1,v2) and (v0,v3,v4). Both sub-triangles meet at the pinch vertex v0, whose fan is disconnected — the two triangles share no edge, only the hub vertex.

Reproducer recipe

5 vertices; hexagon index sequence (v0,v1,v2,v0,v3,v4); render as two triangles sharing only v0.

Expected kernel behavior

detect the failed insert at position 3; split into sub-polygon 1 (v0,v1,v2) and sub-polygon 2 (v0,v3,v4); push both to clean polygon list.

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.5,
15      1.0,
16      0.0
17    ],
18    [
19      -1.0,
20      0.0,
21      0.0
22    ],
23    [
24      -0.5,
25      1.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      0,
37      3,
38      4
39    ]
40  ],
41  "metadata": {
42    "id": "Me060",
43    "schema_version": 0,
44    "defect_class": "pinched_polygon",
45    "title": "pinch_detection: hexagon (v0,v1,v2,v0,v3,v4) \u2014 v0 repeated at position 3",
46    "assertions": [
47      {
48        "kind": "vertex_fan_disconnected",
49        "vertex": 0
50      },
51      {
52        "kind": "triangle_not_reachable_from",
53        "target": 1,
54        "source": 0
55      }
56    ]
57  }
58}