Me076 — duplicate_singular_vertices: closed-ring upper fan plus open lower fan at bowtie vertex

§12.14 mesh defects (sub-class: non-manifold vertex / singular vertex)

topology

Sources

Description

vertex 0 is a singular vertex. The upper fan is a **closed** 4-triangle ring (all edges at v0 shared by exactly 2 ring triangles; no boundary at v0 within the ring). The lower fan is a single isolated triangle. CW traversal of the closed ring returns to the starting polygon — Branch 8 (*wraparound_check*: `if (next==v_id) break`) fires to terminate the first CC. The isolated lower triangle then forms the second CC.

Reproducer recipe

closed ring t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v0,v3,v4), t3=(v0,v4,v1) with outer rim at radius 2; isolated t4=(v0,v5,v6) with v5,v6 at y=−4.

Expected kernel behavior

split v0 into 2 copies; ring retains one; isolated lower fan gets the duplicate.

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      0.0,
10      2.0,
11      0.0
12    ],
13    [
14      2.0,
15      0.0,
16      0.0
17    ],
18    [
19      0.0,
20      -2.0,
21      0.0
22    ],
23    [
24      -2.0,
25      0.0,
26      0.0
27    ],
28    [
29      1.0,
30      -4.0,
31      0.0
32    ],
33    [
34      -1.0,
35      -4.0,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      0,
47      2,
48      3
49    ],
50    [
51      0,
52      3,
53      4
54    ],
55    [
56      0,
57      4,
58      1
59    ],
60    [
61      0,
62      5,
63      6
64    ]
65  ],
66  "metadata": {
67    "id": "Me076",
68    "schema_version": 0,
69    "defect_class": "non_manifold_vertex",
70    "title": "duplicate_singular_vertices: closed-ring upper fan plus open lower fan at bowtie vertex",
71    "assertions": [
72      {
73        "kind": "edge_shared_by_n_triangles",
74        "edge": [
75          0,
76          1
77        ],
78        "n": 2
79      },
80      {
81        "kind": "edge_shared_by_n_triangles",
82        "edge": [
83          0,
84          2
85        ],
86        "n": 2
87      },
88      {
89        "kind": "edge_shared_by_n_triangles",
90        "edge": [
91          0,
92          3
93        ],
94        "n": 2
95      },
96      {
97        "kind": "edge_shared_by_n_triangles",
98        "edge": [
99          0,
100          4
101        ],
102        "n": 2
103      },
104      {
105        "kind": "edge_shared_by_n_triangles",
106        "edge": [
107          0,
108          5
109        ],
110        "n": 1
111      },
112      {
113        "kind": "edge_shared_by_n_triangles",
114        "edge": [
115          0,
116          6
117        ],
118        "n": 1
119      },
120      {
121        "kind": "vertex_fan_disconnected",
122        "vertex": 0
123      }
124    ]
125  }
126}