Me1155 — PMP.orient component_orientation_selection: outward_orientation flag evaluated for CW-wound closed tetrahedron (Branch 1)

§12.14 mesh defects (sub-class: inverted_normals / orient-component-orientation-selection)

spec-violation

Sources

Description

A closed tetrahedron whose four faces are all wound clockwise when viewed from outside, giving inward-pointing normals. `PMP.orient` evaluates the outward_orientation named parameter for the single connected component — Branch 1 fires — then flips all four faces so normals point outward. V=4, E=6, F=4, chi=2.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(0.5,0.866,0), v3=(0.5,0.289,0.816); CW faces t0=(v0,v2,v1), t1=(v0,v1,v3), t2=(v1,v2,v3), t3=(v2,v0,v3); all 6 edges n=2; assert_triangle_normal_z_negative(t0); euler V=4,E=6,F=4,chi=2.

Expected kernel behavior

Branch 1 fires; outward_orientation parameter evaluated; all four CW-wound faces flipped so normals point outward.

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      0.866,
16      0.0
17    ],
18    [
19      0.5,
20      0.289,
21      0.816
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      2,
28      1
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": "Me1155",
48    "schema_version": 0,
49    "defect_class": "inverted_normals",
50    "title": "PMP.orient component_orientation_selection: outward_orientation flag evaluated for CW-wound closed tetrahedron (Branch 1)",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          1
57        ],
58        "n": 2
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          1,
64          2
65        ],
66        "n": 2
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          0,
72          2
73        ],
74        "n": 2
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          0,
80          3
81        ],
82        "n": 2
83      },
84      {
85        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          1,
88          3
89        ],
90        "n": 2
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          2,
96          3
97        ],
98        "n": 2
99      },
100      {
101        "kind": "triangle_normal_z_negative",
102        "triangle": 0
103      },
104      {
105        "kind": "euler_characteristic",
106        "v": 4,
107        "e": 6,
108        "f": 4,
109        "chi": 2
110      }
111    ]
112  }
113}