Me067 — pinch_split_boundary: 8-gon with pinch at positions 1 and 6 → pentagon + triangle

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

units

Sources

Description

an 8-vertex polygon (v0,v1,v2,v3,v4,v5,v1,v6) has v1 at positions 1 and 6. Branch 6 fires: prev_id = is_insert_successful.first->second = 1. split_polygon_1 = polygon[1..6] = (v1,v2,v3,v4,v5) [pentagon → 3 triangles via fan]. split_polygon_2 = polygon[6..7]+polygon[0..1] = (v1,v6,v0) [triangle]. The map lookup at a large distance (5 positions back) exercises the prev_id retrieval.

Reproducer recipe

7 vertices; octagon (v0,v1,v2,v3,v4,v5,v1,v6); v1 first seen at position 1, repeated at position 6.

Expected kernel behavior

look up prev_id=1 from unique_points map; slice polygon[1..6] for first sub-polygon; wrap remainder for 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      2.0,
15      0.5,
16      0.0
17    ],
18    [
19      2.0,
20      1.5,
21      0.0
22    ],
23    [
24      1.0,
25      2.0,
26      0.0
27    ],
28    [
29      0.0,
30      1.5,
31      0.0
32    ],
33    [
34      0.5,
35      -1.0,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      1,
42      2,
43      3
44    ],
45    [
46      1,
47      3,
48      4
49    ],
50    [
51      1,
52      4,
53      5
54    ],
55    [
56      1,
57      6,
58      0
59    ]
60  ],
61  "metadata": {
62    "id": "Me067",
63    "schema_version": 0,
64    "defect_class": "pinched_polygon",
65    "title": "pinch_split_boundary: 8-gon with pinch at positions 1 and 6 \u2192 pentagon + triangle",
66    "assertions": [
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          1,
71          3
72        ],
73        "n": 2
74      },
75      {
76        "kind": "edge_shared_by_n_triangles",
77        "edge": [
78          1,
79          4
80        ],
81        "n": 2
82      },
83      {
84        "kind": "vertex_fan_disconnected",
85        "vertex": 1
86      },
87      {
88        "kind": "triangle_not_reachable_from",
89        "target": 3,
90        "source": 0
91      }
92    ]
93  }
94}