Me267 — range_with_face_set not_topological_disk_after_expansion: marked region forms cylinder → disk test fails → skip

§12.14 mesh defects (sub-class: degenerate_edge / range-with-face-set)

topology

Sources

Description

A 6-triangle cylinder (two open boundary rings) with the degenerate edge (v0,v1) on the top ring. The cylinder's Euler characteristic chi=0 (two boundary loops). When the marked faces form this cylindrical region, is_selection_a_topological_disk returns false (chi≠1), so Branch 8 skips removal and marks all_removed=false.

Reproducer recipe

top ring v0=(0,1,1), v1=(1e-10,1,1), v2=(1,0,1); bottom ring v3,v4,v5. 6 triangles forming a cylinder. chi=0.

Expected kernel behavior

is_selection_a_topological_disk=false (chi=0 ≠ 1); skip removal.

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      1.0,
6      1.0
7    ],
8    [
9      1e-10,
10      1.0,
11      1.0
12    ],
13    [
14      1.0,
15      0.0,
16      1.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      1e-10,
25      1.0,
26      0.0
27    ],
28    [
29      1.0,
30      0.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      0,
42      3,
43      1
44    ],
45    [
46      1,
47      3,
48      4
49    ],
50    [
51      1,
52      4,
53      2
54    ],
55    [
56      2,
57      4,
58      5
59    ],
60    [
61      0,
62      5,
63      3
64    ]
65  ],
66  "metadata": {
67    "id": "Me267",
68    "schema_version": 0,
69    "defect_class": "degenerate_edge",
70    "title": "range_with_face_set not_topological_disk_after_expansion: marked region forms cylinder (chi=0) \u2192 disk test fails \u2192 skip",
71    "assertions": [
72      {
73        "kind": "edge_shared_by_n_triangles",
74        "edge": [
75          0,
76          1
77        ],
78        "n": 2
79      },
80      {
81        "kind": "vertex_pair_distance_lt",
82        "pair": [
83          0,
84          1
85        ],
86        "lt": 1e-09
87      },
88      {
89        "kind": "euler_characteristic",
90        "v": 6,
91        "e": 12,
92        "f": 6,
93        "chi": 0
94      }
95    ]
96  }
97}