Me085 — connectivity triangle-not-owns-edge: non-manifold edge shared by 4 triangles

§12.14 mesh defects (sub-class: connectivity / triangle does not own edge)

topology

Sources

Description

the undirected edge (v0, v2) is shared by 4 triangles — two using orientation v0→v2 and two using v2→v0. MeshFix's half-edge structure allows each edge only one t1 and one t2; a third and fourth triangle that reference the same undirected edge cannot be assigned ownership — those triangles "do not own" the edge. Both Branches 7 and 9 fire when traversing this over-shared edge.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(0,1,0), v3=(-1,0,0), v4=(0,-1,0); 4 triangles all sharing edge (v0,v2).

Expected kernel behavior

detect non-manifold edge; cut or split the mesh at (v0,v2).

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.0,
15      1.0,
16      0.0
17    ],
18    [
19      -1.0,
20      0.0,
21      0.0
22    ],
23    [
24      0.0,
25      -1.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      0,
37      2,
38      3
39    ],
40    [
41      0,
42      4,
43      2
44    ],
45    [
46      0,
47      2,
48      4
49    ]
50  ],
51  "metadata": {
52    "id": "Me085",
53    "schema_version": 0,
54    "defect_class": "non_manifold_edge",
55    "title": "connectivity triangle-not-owns-edge: edge (v0,v2) shared by 4 triangles \u2014 over-shared non-manifold",
56    "assertions": [
57      {
58        "kind": "edge_shared_by_n_triangles",
59        "edge": [
60          0,
61          2
62        ],
63        "n": 4
64      }
65    ]
66  }
67}