Me564 — loopSubdivision triangle_topology_after_split: 5-triangle fan; all spoke edges interior (n=2); MARK_VISIT fires on both new sub-triangles per split (Branch 5)

§12.14 mesh defects (sub-class: loop-subdivision / sub-triangle-marking)

topology

Sources

Description

A 5-triangle fan around central vertex v0, forming a pentagonal open disk. All 5 spoke edges (v0,vi) are interior (n=2, shared by consecutive fan triangles). The ring boundary edges (v1-v2, …, v5-v1) are n=1. Since all triangles are IS_VISITED and all spoke edges have t2 non-NULL, the MARK_VISIT branch fires for both new sub-triangles after every interior-edge split. Euler: V=6, E=10, F=5, chi=1.

Reproducer recipe

v0=(0.5,0.5,0) hub; v1–v5 form a pentagon; t0=(0,1,2), t1=(0,2,3), t2=(0,3,4), t3=(0,4,5), t4=(0,5,1); all (v0,vi) assert_edge_shared n=2; ring edges n=1; euler V=6,E=10,F=5,chi=1.

Expected kernel behavior

Branch 5 fires for each interior spoke-edge split; ls->e->t2 is non-NULL for all 5 spokes; MARK_VISIT(ls->t1) and MARK_VISIT(ls->t2) are both called → 10 new sub-triangles all marked visited.

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      1.0,
10      0.0,
11      0.0
12    ],
13    [
14      0.5,
15      1.0,
16      0.0
17    ],
18    [
19      0.5,
20      0.333,
21      0.816
22    ],
23    [
24      15.0,
25      15.0,
26      0.0
27    ],
28    [
29      16.0,
30      15.0,
31      0.0
32    ],
33    [
34      15.5,
35      16.0,
36      0.0
37    ],
38    [
39      16.5,
40      16.0,
41      0.0
42    ]
43  ],
44  "triangles": [
45    [
46      0,
47      2,
48      1
49    ],
50    [
51      0,
52      1,
53      3
54    ],
55    [
56      1,
57      2,
58      3
59    ],
60    [
61      0,
62      3,
63      2
64    ],
65    [
66      4,
67      5,
68      6
69    ],
70    [
71      5,
72      7,
73      6
74    ]
75  ],
76  "metadata": {
77    "id": "Me923",
78    "schema_version": 0,
79    "defect_class": "disconnected_components",
80    "title": "keep_largest output_iterator_presence: removed component faces recorded via output_iterator",
81    "assertions": [
82      {
83        "kind": "triangle_not_reachable_from",
84        "target": 4,
85        "source": 0
86      },
87      {
88        "kind": "edge_shared_by_n_triangles",
89        "edge": [
90          0,
91          1
92        ],
93        "n": 2
94      },
95      {
96        "kind": "edge_shared_by_n_triangles",
97        "edge": [
98          1,
99          2
100        ],
101        "n": 2
102      },
103      {
104        "kind": "edge_shared_by_n_triangles",
105        "edge": [
106          0,
107          2
108        ],
109        "n": 2
110      },
111      {
112        "kind": "edge_shared_by_n_triangles",
113        "edge": [
114          0,
115          3
116        ],
117        "n": 2
118      },
119      {
120        "kind": "edge_shared_by_n_triangles",
121        "edge": [
122          1,
123          3
124        ],
125        "n": 2
126      },
127      {
128        "kind": "edge_shared_by_n_triangles",
129        "edge": [
130          2,
131          3
132        ],
133        "n": 2
134      },
135      {
136        "kind": "edge_shared_by_n_triangles",
137        "edge": [
138          5,
139          6
140        ],
141        "n": 2
142      }
143    ]
144  }
145}