Me344 — init_vertex_edge_reference_link: bowtie vertex e0 links into only one disconnected fan group

§12.14 mesh defects (sub-class: Basic_TMesh.init / vertex-edge-reference-link)

topology

Sources

Description

A bowtie (non-manifold vertex) where hub v4=(0,0,0) is shared by two triangle fans that share no edge: fan A (t0=(v0,v1,v4)) and fan B (t1=(v2,v3,v4)). When init reconstructs the clone, the clone v4->e0 can only point to one of the two fan groups — the clone inherits the broken vertex-edge reference that leaves one fan group unreachable from v4.

Reproducer recipe

v0=(-1,-1,0), v1=(1,-1,0), v2=(-1,1,0), v3=(1,1,0), v4=(0,0,0); t0=(v0,v1,v4), t1=(v2,v3,v4); assert_vertex_fan_disconnected(4); all edges n=1.

Expected kernel behavior

Branch 5 fires for each vertex; v4->e0 in the clone points to one fan only; non-manifold-vertex flag triggered downstream.

Expected validation

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1{
2  "vertices": [
3    [
4      -1.0,
5      -1.0,
6      0.0
7    ],
8    [
9      1.0,
10      -1.0,
11      0.0
12    ],
13    [
14      -1.0,
15      1.0,
16      0.0
17    ],
18    [
19      1.0,
20      1.0,
21      0.0
22    ],
23    [
24      0.0,
25      0.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      4
34    ],
35    [
36      2,
37      3,
38      4
39    ]
40  ],
41  "metadata": {
42    "id": "Me344",
43    "schema_version": 0,
44    "defect_class": "non_manifold_vertex",
45    "title": "init_vertex_edge_reference_link: bowtie vertex v4 e0 links into only one fan group",
46    "assertions": [
47      {
48        "kind": "vertex_fan_disconnected",
49        "vertex": 4
50      },
51      {
52        "kind": "edge_shared_by_n_triangles",
53        "edge": [
54          0,
55          1
56        ],
57        "n": 1
58      },
59      {
60        "kind": "edge_shared_by_n_triangles",
61        "edge": [
62          0,
63          4
64        ],
65        "n": 1
66      },
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          1,
71          4
72        ],
73        "n": 1
74      },
75      {
76        "kind": "edge_shared_by_n_triangles",
77        "edge": [
78          2,
79          3
80        ],
81        "n": 1
82      },
83      {
84        "kind": "edge_shared_by_n_triangles",
85        "edge": [
86          2,
87          4
88        ],
89        "n": 1
90      },
91      {
92        "kind": "edge_shared_by_n_triangles",
93        "edge": [
94          3,
95          4
96        ],
97        "n": 1
98      }
99    ]
100  }
101}