Me463 — selectConnectedComponent neighbor_t2_enqueue: BFS enqueues t2 across non-sharp edge e2 (Branch 4)

§12.14 mesh defects (sub-class: disconnected_components / selectConnectedComponent-t2-enqueue)

topology

Sources

Description

Three triangles where the seed t0=(v0,v1,v2) has neighbors across both its e1-edge (v1,v2) and its e2-edge (v0,v1). The t2-neighbor of t0 across e2=(v0,v1) is fixture triangle t1=(v1,v0,v3). Interior edges (v0,v1) n=2, (v1,v2) n=2; five boundary edges n=1. Euler: V=5, E=7, F=3, chi=1. Note: IS_SHARPEDGE flag is runtime-only; fixture shows non-sharp topological precondition.

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(1,2,0), v3=(1,-2,0), v4=(3,1,0); t0=(v0,v1,v2), t1=(v1,v0,v3) [t2-neighbor of t0 via e2=(v0,v1)], t2=(v1,v2,v4) [t1-neighbor of t0 via e1=(v1,v2)]; euler V=5,E=7,F=3,chi=1.

Expected kernel behavior

Branch 4 fires when t0 is dequeued; t2 (across e2 = (v0,v1)) is non-NULL, unvisited, and e2 is not sharp → appended to todo.

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      1.0,
15      2.0,
16      0.0
17    ],
18    [
19      1.0,
20      -2.0,
21      0.0
22    ],
23    [
24      3.0,
25      1.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      1,
37      0,
38      3
39    ],
40    [
41      1,
42      2,
43      4
44    ]
45  ],
46  "metadata": {
47    "id": "Me463",
48    "schema_version": 0,
49    "defect_class": "disconnected_components",
50    "title": "selectConnectedComponent neighbor_t2_enqueue: BFS enqueues t2 across non-sharp edge e2",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          1
57        ],
58        "n": 2
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          1,
64          2
65        ],
66        "n": 2
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          0,
72          2
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          0,
80          3
81        ],
82        "n": 1
83      },
84      {
85        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          1,
88          3
89        ],
90        "n": 1
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          2,
96          4
97        ],
98        "n": 1
99      },
100      {
101        "kind": "edge_shared_by_n_triangles",
102        "edge": [
103          1,
104          4
105        ],
106        "n": 1
107      },
108      {
109        "kind": "euler_characteristic",
110        "v": 5,
111        "e": 7,
112        "f": 3,
113        "chi": 1
114      }
115    ]
116  }
117}