Me791 — PMP.non_manifold_vertices umbrella_sector_boundary: open-mesh pinch vertex; border halfedge at sector boundary triggers is_border; 3-triangle sector A + 1-triangle sector B (Branch 2)

§12.14 mesh defects (sub-class: non-manifold-vertex / open-mesh-sector-boundary)

units

Sources

Description

Pinch vertex hub=(0,0,0) with two disconnected umbrella sectors in an open mesh. Sector A is a 3-triangle open fan (t0,t1,t2) sharing interior edges (hub,a1) and (hub,a2), with border halfedges at (hub,a0) and (hub,a3). Sector B is a single isolated triangle (t3) with both hub edges being border: (hub,b0) and (hub,b1). When the algorithm walks the halfedge star and encounters a border halfedge at hub — is_border(hf,tm) fires (Branch 2) — it marks the umbrella sector boundary and advances to the next sector. Hub has 6 border halfedges. Euler: V=7, E=10, F=4, chi=1.

Reproducer recipe

hub=(0,0,0); a0=(2,1,0),a1=(1,1,0),a2=(0,1,0),a3=(-1,1,0); b0=(1,-1,0),b1=(-1,-1,0); t0=(hub,a0,a1), t1=(hub,a1,a2), t2=(hub,a2,a3), t3=(hub,b0,b1); assert_edge_shared(hub,a1,2); assert_edge_shared(hub,a2,2); border hub edges n=1 each; assert_vertex_fan_disconnected(hub); euler V=7,E=10,F=4,chi=1.

Expected kernel behavior

Branch 2 fires when is_border(hf,tm) returns true for (hub,b0) or (hub,b1); sector boundary marked; algorithm advances to enumerate next sector without re-traversing.

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      1.0,
11      0.0
12    ],
13    [
14      1.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      -1.0,
25      1.0,
26      0.0
27    ],
28    [
29      1.0,
30      -1.0,
31      0.0
32    ],
33    [
34      -1.0,
35      -1.0,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      0,
47      2,
48      3
49    ],
50    [
51      0,
52      3,
53      4
54    ],
55    [
56      0,
57      5,
58      6
59    ]
60  ],
61  "metadata": {
62    "id": "Me791",
63    "schema_version": 0,
64    "defect_class": "non_manifold_vertex",
65    "title": "PMP.non_manifold_vertices umbrella_sector_boundary: open-mesh pinch vertex; border halfedge at sector boundary triggers is_border; 3-triangle sector A + 1-triangle sector B (Branch 2)",
66    "assertions": [
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          0,
71          2
72        ],
73        "n": 2
74      },
75      {
76        "kind": "edge_shared_by_n_triangles",
77        "edge": [
78          0,
79          3
80        ],
81        "n": 2
82      },
83      {
84        "kind": "edge_shared_by_n_triangles",
85        "edge": [
86          0,
87          1
88        ],
89        "n": 1
90      },
91      {
92        "kind": "edge_shared_by_n_triangles",
93        "edge": [
94          0,
95          4
96        ],
97        "n": 1
98      },
99      {
100        "kind": "edge_shared_by_n_triangles",
101        "edge": [
102          0,
103          5
104        ],
105        "n": 1
106      },
107      {
108        "kind": "edge_shared_by_n_triangles",
109        "edge": [
110          0,
111          6
112        ],
113        "n": 1
114      },
115      {
116        "kind": "edge_shared_by_n_triangles",
117        "edge": [
118          1,
119          2
120        ],
121        "n": 1
122      },
123      {
124        "kind": "edge_shared_by_n_triangles",
125        "edge": [
126          2,
127          3
128        ],
129        "n": 1
130      },
131      {
132        "kind": "edge_shared_by_n_triangles",
133        "edge": [
134          3,
135          4
136        ],
137        "n": 1
138      },
139      {
140        "kind": "edge_shared_by_n_triangles",
141        "edge": [
142          5,
143          6
144        ],
145        "n": 1
146      },
147      {
148        "kind": "vertex_fan_disconnected",
149        "vertex": 0
150      },
151      {
152        "kind": "euler_characteristic",
153        "v": 7,
154        "e": 10,
155        "f": 4,
156        "chi": 1
157      }
158    ]
159  }
160}