Me434 — forceNormalConsistence non-orientable-seam: seam edge traversed in same direction by both adjacent triangles; tmp1*tmp2<0 → newEdge cut (Branch 5)

§12.14 mesh defects (sub-class: non-orientable-seam / Möbius-topology)

topology

Sources

Description

Four triangles forming a closed surface (V=4, E=6, F=4, chi=2) with one non-orientable seam. Seam edge (v0,v1) is shared by t0=(v0,v1,v2) and t1=(v0,v1,v3) — BOTH list the edge as v0→v1 (same direction). In a correctly-oriented manifold, one should go v0→v1 and the other v1→v0. The sign product tmp1*tmp2 < 0 because the edge orientation is contradictory relative to the face normals: t0 has +z normal and t3=(v2,v0,v3) has −z normal (dot t0,t3 = −1). The propagator creates a new cut edge via newEdge(e->v2, e->v1) and increments wrn. All 6 edges are interior (n=2); no boundary.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(1,1,0), v3=(0,1,0); t0=(v0,v1,v2), t1=(v0,v1,v3), t2=(v1,v2,v3), t3=(v2,v0,v3); assert_edge_shared(v0,v1,2); assert_adjacent_triangles_inconsistent_winding(0,3); all 6 edges n=2; euler V=4,E=6,F=4,chi=2.

Expected kernel behavior

Branch 5 fires; newEdge(e->v2, e->v1) creates a cut along the seam; wrn is incremented (to be checked by Branch 7).

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      1.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      1,
28      2
29    ],
30    [
31      0,
32      1,
33      3
34    ],
35    [
36      1,
37      2,
38      3
39    ],
40    [
41      2,
42      0,
43      3
44    ]
45  ],
46  "metadata": {
47    "id": "Me434",
48    "schema_version": 0,
49    "defect_class": "non_orientable_seam",
50    "title": "forceNormalConsistence non-orientable-seam: closed surface with same-direction seam edge; tmp1*tmp2<0 (Branch 5)",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          1
57        ],
58        "n": 2
59      },
60      {
61        "kind": "adjacent_triangles_inconsistent_winding",
62        "triangles": [
63          0,
64          3
65        ]
66      },
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          1,
71          2
72        ],
73        "n": 2
74      },
75      {
76        "kind": "edge_shared_by_n_triangles",
77        "edge": [
78          0,
79          2
80        ],
81        "n": 2
82      },
83      {
84        "kind": "edge_shared_by_n_triangles",
85        "edge": [
86          1,
87          3
88        ],
89        "n": 2
90      },
91      {
92        "kind": "edge_shared_by_n_triangles",
93        "edge": [
94          0,
95          3
96        ],
97        "n": 2
98      },
99      {
100        "kind": "edge_shared_by_n_triangles",
101        "edge": [
102          2,
103          3
104        ],
105        "n": 2
106      },
107      {
108        "kind": "euler_characteristic",
109        "v": 4,
110        "e": 6,
111        "f": 4,
112        "chi": 2
113      }
114    ]
115  }
116}