Me694 — connected_component null_face_check: open-boundary mesh; BFS encounters null_face at every boundary halfedge

§12.14 mesh defects (sub-class: disconnected_components / connected-component-BFS)

topology

Sources

Description

Three triangles forming an open strip (t0, t1, t2) with no closed surface boundary. Interior edges: (b1,p0) shared by t0+t1; (b1,p1) shared by t1+t2. All outer rim edges are boundary halfedges whose opposite returns null_face. When BFS expands from t0, Branch 5's `neighbor != null_face` guard fires for each boundary halfedge, preventing follow. An isolated triangle (t3) forms a second CC.

Reproducer recipe

b0=(0,0,0), b1=(1,0,0), b2=(2,0,0); p0=(0.5,1,0), p1=(1.5,1,0). t0=(b0,b1,p0); t1=(b1,p1,p0); t2=(b1,b2,p1). Boundary edges: (b0,p0),(b0,b1),(p0,p1),(b2,p1),(b1,b2). iso at x=10.

Expected kernel behavior

BFS null_face guard fires for every outer boundary halfedge of the open strip; BFS stays within the 3-triangle component.

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      2.0,
15      0.0,
16      0.0
17    ],
18    [
19      0.5,
20      1.0,
21      0.0
22    ],
23    [
24      1.5,
25      1.0,
26      0.0
27    ],
28    [
29      10.0,
30      0.0,
31      0.0
32    ],
33    [
34      11.0,
35      0.0,
36      0.0
37    ],
38    [
39      10.5,
40      1.0,
41      0.0
42    ]
43  ],
44  "triangles": [
45    [
46      0,
47      1,
48      3
49    ],
50    [
51      1,
52      4,
53      3
54    ],
55    [
56      1,
57      2,
58      4
59    ],
60    [
61      5,
62      6,
63      7
64    ]
65  ],
66  "metadata": {
67    "id": "Me694",
68    "schema_version": 0,
69    "defect_class": "disconnected_components",
70    "title": "connected_component null_face_check: open-boundary mesh; BFS encounters null_face at every boundary halfedge",
71    "assertions": [
72      {
73        "kind": "edge_shared_by_n_triangles",
74        "edge": [
75          1,
76          3
77        ],
78        "n": 2
79      },
80      {
81        "kind": "edge_shared_by_n_triangles",
82        "edge": [
83          1,
84          4
85        ],
86        "n": 2
87      },
88      {
89        "kind": "edge_shared_by_n_triangles",
90        "edge": [
91          0,
92          3
93        ],
94        "n": 1
95      },
96      {
97        "kind": "edge_shared_by_n_triangles",
98        "edge": [
99          0,
100          1
101        ],
102        "n": 1
103      },
104      {
105        "kind": "edge_shared_by_n_triangles",
106        "edge": [
107          3,
108          4
109        ],
110        "n": 1
111      },
112      {
113        "kind": "edge_shared_by_n_triangles",
114        "edge": [
115          2,
116          4
117        ],
118        "n": 1
119      },
120      {
121        "kind": "edge_shared_by_n_triangles",
122        "edge": [
123          1,
124          2
125        ],
126        "n": 1
127      },
128      {
129        "kind": "triangle_not_reachable_from",
130        "target": 3,
131        "source": 0
132      }
133    ]
134  }
135}