Me842 — duplicate_non_manifold_vertices non-manifold-class-confirmation: hub found in known_nm_vertices set; duplicate vertex operation proceeds (Branch 3)

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

topology

Sources

Description

Pre-identified non-manifold hub vertex 0 shared by two disconnected fans in different planes (Fan A: t0,t1 in z=0; Fan B: t2,t3 in z=1). Fan A and Fan B share only hub; interior edges (hub,a1) and (hub,b1) are each n=2 within their fan. Before the duplication sweep, CGAL calls non_manifold_vertices() and populates known_nm_vertices; Branch 3 fires when known_nm_vertices.count(hub) > 0 confirms hub is genuinely non-manifold before creating a vertex copy. The z-offset between Fan A and Fan B provides spatial distinctness while keeping identical topology. Euler: V=7, E=10, F=4, chi=1.

Reproducer recipe

hub=(0,0,0); a0=(2,0,0),a1=(2,1,0),a2=(1,2,0); b0=(2,0,1),b1=(2,1,1),b2=(1,2,1); t0=(hub,a0,a1),t1=(hub,a1,a2),t2=(hub,b0,b1),t3=(hub,b1,b2); assert_edge_shared(hub,a1,2); assert_edge_shared(hub,b1,2); all boundary edges n=1; assert_vertex_fan_disconnected(hub); euler V=7,E=10,F=4,chi=1.

Expected kernel behavior

Branch 3 fires; known_nm_vertices.count(hub) returns 1; duplicate vertex created for hub to resolve non-manifold topology.

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      2.0,
10      0.0,
11      0.0
12    ],
13    [
14      2.0,
15      1.0,
16      0.0
17    ],
18    [
19      1.0,
20      2.0,
21      0.0
22    ],
23    [
24      2.0,
25      0.0,
26      1.0
27    ],
28    [
29      2.0,
30      1.0,
31      1.0
32    ],
33    [
34      1.0,
35      2.0,
36      1.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": "Me842",
63    "schema_version": 0,
64    "defect_class": "non_manifold_vertex",
65    "title": "duplicate_non_manifold_vertices non-manifold-class-confirmation: hub found in known_nm_vertices set; duplicate vertex operation proceeds (Branch 3)",
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        "kind": "euler_characteristic",
153        "v": 7,
154        "e": 10,
155        "f": 4,
156        "chi": 1
157      }
158    ]
159  }
160}