Me614 — is_cap_triangle_face handle_triplet slot 2: cap vertex v2=(5,0.05,0) at third vertex r; angle approx 179.7 degrees; Branch 5 fires

§12.14 mesh defects (sub-class: cap-triangle / triplet-slot-2)

topology

Sources

Description

A near-180° cap triangle stored as (v_left, v_right, v_cap) = ((0,0,0), (10,0,0), (5,0.05,0)). When traversed: p = v_left (not cap; slot 0 fails), q = v_right (not cap; slot 1 fails), r = v_cap (angle approx 179.7°; slot 2 fires). Both handle_triplet(p,q,r,0) and handle_triplet(q,r,p,1) pass; handle_triplet(r,p,q,2) fires. Aspect ratio approx 200; area approx 0.25.

Reproducer recipe

v_left=(0,0,0), v_right=(10,0,0), v_cap=(5,0.05,0); t0=(v_left,v_right,v_cap); assert_triangle_aspect_ratio_gt(t0,100.0); assert_triangle_area_lt(t0,1.0).

Expected kernel behavior

Branch 5 fires; handle_triplet(p,q,r,0) and handle_triplet(q,r,p,1) both pass (neither p nor q is the cap); handle_triplet(r,p,q,2) detects cap vertex at slot 2 (r = v_cap).

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      10.0,
10      0.0,
11      0.0
12    ],
13    [
14      5.0,
15      0.05,
16      0.0
17    ]
18  ],
19  "triangles": [
20    [
21      0,
22      1,
23      2
24    ]
25  ],
26  "metadata": {
27    "id": "Me614",
28    "schema_version": 0,
29    "defect_class": "cap_triangle",
30    "title": "is_cap_triangle_face handle_triplet slot 2: cap vertex v2=(5,0.05,0) at third vertex r; angle\u2248179.7\u00b0; Branch 5 fires",
31    "assertions": [
32      {
33        "kind": "triangle_aspect_ratio_gt",
34        "triangle": 0,
35        "gt": 100.0
36      },
37      {
38        "kind": "triangle_area_lt",
39        "triangle": 0,
40        "lt": 1.0
41      }
42    ]
43  }
44}