Me574 — Basic_TMesh.invertSelection neighbor_t3_same_state: t3 of seed is unmarked neighbor; BFS enqueues via t3 edge path (Branch 5)

§12.14 mesh defects (sub-class: selection-toggle / t3-neighbor)

topology

Sources

Description

Three-triangle strip where the seed t0=(v0,v1,v2) connects to t1=(v3,v0,v2) via the t3 edge (e3=v2-v0). The e1 and e2 edges of t0 are boundary edges (no neighbors), so only the t3 path fires for the seed. t1 then connects to t2=(v3,v4,v0) via its own shared edge (v0,v3). v1 and v4 share no triangle; v1 and v3 share no triangle. Euler: V=5, E=7, F=3, chi=1.

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(1,1,0), v3=(-1,1,0), v4=(-2,0,0); t0=(v0,v1,v2), t1=(v3,v0,v2), t2=(v3,v4,v0); assert_edge_shared(v0,v2,2); assert_edge_shared(v0,v3,2); outer edges n=1; vertex_pair_no_shared_triangle(v1,v4); vertex_pair_no_shared_triangle(v1,v3); euler V=5,E=7,F=3,chi=1.

Expected kernel behavior

Branch 5 fires for t0; s->t3() returns t1 (adjacent via v2-v0); same-state condition is true; t1 is inverted and enqueued; BFS continues to t2.

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      1.0,
16      0.0
17    ],
18    [
19      -1.0,
20      1.0,
21      0.0
22    ],
23    [
24      -2.0,
25      0.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      3,
37      0,
38      2
39    ],
40    [
41      3,
42      4,
43      0
44    ]
45  ],
46  "metadata": {
47    "id": "Me574",
48    "schema_version": 0,
49    "defect_class": "mesh_selection_toggle",
50    "title": "Basic_TMesh.invertSelection neighbor_t3_same_state: t3 of seed is unmarked neighbor; BFS enqueues via t3 edge path (Branch 5)",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          2
57        ],
58        "n": 2
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          0,
64          3
65        ],
66        "n": 2
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          0,
72          1
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          1,
80          2
81        ],
82        "n": 1
83      },
84      {
85        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          2,
88          3
89        ],
90        "n": 1
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          3,
96          4
97        ],
98        "n": 1
99      },
100      {
101        "kind": "edge_shared_by_n_triangles",
102        "edge": [
103          0,
104          4
105        ],
106        "n": 1
107      },
108      {
109        "kind": "vertex_pair_no_shared_triangle",
110        "pair": [
111          1,
112          4
113        ]
114      },
115      {
116        "kind": "vertex_pair_no_shared_triangle",
117        "pair": [
118          1,
119          3
120        ]
121      },
122      {
123        "kind": "euler_characteristic",
124        "v": 5,
125        "e": 7,
126        "f": 3,
127        "chi": 1
128      }
129    ]
130  }
131}