Me633 — growSelection vertex_neighbor_selection: IS_VISITED(v2) selects t1; IS_VISITED(v0||v1) selects t2 (Branch 4)

§12.14 mesh defects (sub-class: non_manifold_edge / selection-grow)

topology

Sources

Description

A 4-triangle mesh where the seed selection t0 marks v0, v1, v2. Triangle t1 shares only v2 with t0 (vertex-only touch) and is selected by Branch 4. Triangle t2 shares edge (v0,v1) and is also selected. Triangle t3 shares no marked vertex and is not selected.

Reproducer recipe

t0=(v0,v1,v2) selected seed; t1=(v2,v3,v4) vertex-only touch at v2; t2=(v0,v1,v5) shares edge; t3=(v3,v4,v6) no marked vertex. Assert euler V=7, E=10, F=4, chi=1.

Expected kernel behavior

Branch 4 fires for t1 (IS_VISITED(v2) true) and t2 (IS_VISITED(v0||v1) true); MARK_VISIT and ns++ for each; t3 check fails.

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      3.0,
21      0.0
22    ],
23    [
24      3.0,
25      1.0,
26      0.0
27    ],
28    [
29      -1.0,
30      1.0,
31      0.0
32    ],
33    [
34      3.0,
35      3.0,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      2,
47      3,
48      4
49    ],
50    [
51      0,
52      1,
53      5
54    ],
55    [
56      3,
57      4,
58      6
59    ]
60  ],
61  "metadata": {
62    "id": "Me633",
63    "schema_version": 0,
64    "defect_class": "non_manifold_edge",
65    "title": "growSelection vertex_neighbor_selection: IS_VISITED(v2) selects t1 (vertex-only touch); IS_VISITED(v0)||IS_VISITED(v1) selects t2 (shared edge); 4-triangle mesh (Branch 4)",
66    "assertions": [
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          0,
71          1
72        ],
73        "n": 2
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": 2
98      },
99      {
100        "kind": "edge_shared_by_n_triangles",
101        "edge": [
102          0,
103          2
104        ],
105        "n": 1
106      },
107      {
108        "kind": "edge_shared_by_n_triangles",
109        "edge": [
110          1,
111          2
112        ],
113        "n": 1
114      },
115      {
116        "kind": "edge_shared_by_n_triangles",
117        "edge": [
118          0,
119          5
120        ],
121        "n": 1
122      },
123      {
124        "kind": "edge_shared_by_n_triangles",
125        "edge": [
126          1,
127          5
128        ],
129        "n": 1
130      },
131      {
132        "kind": "edge_shared_by_n_triangles",
133        "edge": [
134          4,
135          6
136        ],
137        "n": 1
138      },
139      {
140        "kind": "edge_shared_by_n_triangles",
141        "edge": [
142          3,
143          6
144        ],
145        "n": 1
146      },
147      {
148        "kind": "euler_characteristic",
149        "v": 7,
150        "e": 10,
151        "f": 4,
152        "chi": 1
153      }
154    ]
155  }
156}