Me258 — openToDisk_manifold_fixup: bowtie vertex requires duplicateNonManifoldVertices (Branch 9)

§12.14 mesh defects (sub-class: openToDisk / manifold-fixup)

topology

Sources

Description

A bowtie/hourglass mesh: vertex v0 (index 0) is incident on two triangle fans {t0,t1} (upper) and {t2,t3} (lower) that share only v0 and no edge. This is the non-manifold vertex pattern produced by openToDisk after edge duplication. Branch 9 calls duplicateNonManifoldVertices to split v0 into two distinct vertices and restore manifoldness. Interior edges (0,2) and (0,5) are each n=2; all outer edges are boundary n=1.

Reproducer recipe

v0=(0,0,0); upper fan v1=(1,1,0), v2=(0,2,0), v3=(-1,1,0); lower fan v4=(1,-1,0), v5=(0,-2,0), v6=(-1,-1,0); t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v0,v4,v5), t3=(v0,v5,v6).

Expected kernel behavior

duplicateNonManifoldVertices splits v0 into v0_a (upper fan) and v0_b (lower fan) — vertex fan becomes connected.

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      1.0,
11      0.0
12    ],
13    [
14      0.0,
15      2.0,
16      0.0
17    ],
18    [
19      -1.0,
20      1.0,
21      0.0
22    ],
23    [
24      1.0,
25      -1.0,
26      0.0
27    ],
28    [
29      0.0,
30      -2.0,
31      0.0
32    ],
33    [
34      -1.0,
35      -1.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      4,
53      5
54    ],
55    [
56      0,
57      5,
58      6
59    ]
60  ],
61  "metadata": {
62    "id": "Me258",
63    "schema_version": 0,
64    "defect_class": "open_to_disk_manifold_fixup",
65    "title": "openToDisk_manifold_fixup: bowtie vertex v0 \u2014 disconnected fan requires duplicateNonManifoldVertices",
66    "assertions": [
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          0,
71          2
72        ],
73        "n": 2
74      },
75      {
76        "kind": "edge_shared_by_n_triangles",
77        "edge": [
78          0,
79          5
80        ],
81        "n": 2
82      },
83      {
84        "kind": "edge_shared_by_n_triangles",
85        "edge": [
86          0,
87          1
88        ],
89        "n": 1
90      },
91      {
92        "kind": "edge_shared_by_n_triangles",
93        "edge": [
94          1,
95          2
96        ],
97        "n": 1
98      },
99      {
100        "kind": "edge_shared_by_n_triangles",
101        "edge": [
102          2,
103          3
104        ],
105        "n": 1
106      },
107      {
108        "kind": "edge_shared_by_n_triangles",
109        "edge": [
110          0,
111          3
112        ],
113        "n": 1
114      },
115      {
116        "kind": "edge_shared_by_n_triangles",
117        "edge": [
118          0,
119          4
120        ],
121        "n": 1
122      },
123      {
124        "kind": "edge_shared_by_n_triangles",
125        "edge": [
126          4,
127          5
128        ],
129        "n": 1
130      },
131      {
132        "kind": "edge_shared_by_n_triangles",
133        "edge": [
134          5,
135          6
136        ],
137        "n": 1
138      },
139      {
140        "kind": "edge_shared_by_n_triangles",
141        "edge": [
142          0,
143          6
144        ],
145        "n": 1
146      },
147      {
148        "kind": "vertex_fan_disconnected",
149        "vertex": 0
150      }
151    ]
152  }
153}