Me047 — non-manifold edge shared by 3 triangles blocks compatible_orientations

§12.14 mesh defects (sub-class: orientation/non-manifold-edge)

topology

Sources

Description

edge (v0,v1) is incident on 3 triangles (three distinct third vertices above, below, and out of the XZ plane). In a manifold mesh each edge has exactly 2 incident faces; the is_non_manifold check in compatible_orientations fires and the algorithm returns false — consistent global orientation is impossible when a halfedge structure is undefined.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0); three triangles sharing that edge with third vertices at (0.5,1,0), (0.5,-1,0), (0.5,0,1).

Expected kernel behavior

detect the non-manifold edge; return false from compatible_orientations without attempting BFS propagation.

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      -1.0,
21      0.0
22    ],
23    [
24      0.5,
25      0.0,
26      1.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      0,
37      1,
38      3
39    ],
40    [
41      0,
42      1,
43      4
44    ]
45  ],
46  "metadata": {
47    "id": "Me047",
48    "schema_version": 0,
49    "defect_class": "non_manifold_edge",
50    "title": "non-manifold edge shared by 3 triangles blocks compatible_orientations",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          1
57        ],
58        "n": 3
59      }
60    ]
61  }
62}