Me722 — Basic_TMesh.safeCoordBackApproximation jitter escape condition: overlapping apex trapped inside large triangle; 26-direction jitter scan exercised (Branch 3)

§12.14 mesh defects (sub-class: self_intersection_coplanar_overlap / Basic_TMesh.safeCoordBackApproximation)

spec-violation

Sources

Description

Three-triangle fan with a central apex v3=(3,1,0) geometrically trapped deep inside a large outer triangle t0. t0=(v0,v1,v2) has area=15, t1=(v0,v1,v3) has area=3 and overlaps t0. All 26 jitter directions are exercised because no single delta step on v3 clears the overlap — Branch 3 runs to completion without early break.

Reproducer recipe

v0=(0,0,0), v1=(6,0,0), v2=(3,5,0), v3=(3,1,0); t0=(v0,v1,v2), t1=(v0,v1,v3), t2=(v1,v2,v3); edge_shared(v0,v1,2), edge_shared(v1,v2,2); 3 boundary edges n=1; triangles_self_intersect(t0,t1); triangle_area_lt(t1,4.0).

Expected kernel behavior

Branch 3 fires; all 26 direction-vectors are tried before the jitter loop exits; overlap unresolved after full scan.

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      6.0,
10      0.0,
11      0.0
12    ],
13    [
14      3.0,
15      5.0,
16      0.0
17    ],
18    [
19      3.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  "metadata": {
42    "id": "Me722",
43    "schema_version": 0,
44    "defect_class": "self_intersection_coplanar_overlap",
45    "title": "safeCoordBackApproximation jitter escape condition: overlapping apex trapped inside large triangle; 26-direction jitter scan exercised (Branch 3)",
46    "assertions": [
47      {
48        "kind": "edge_shared_by_n_triangles",
49        "edge": [
50          0,
51          1
52        ],
53        "n": 2
54      },
55      {
56        "kind": "edge_shared_by_n_triangles",
57        "edge": [
58          1,
59          2
60        ],
61        "n": 2
62      },
63      {
64        "kind": "edge_shared_by_n_triangles",
65        "edge": [
66          0,
67          2
68        ],
69        "n": 1
70      },
71      {
72        "kind": "edge_shared_by_n_triangles",
73        "edge": [
74          0,
75          3
76        ],
77        "n": 1
78      },
79      {
80        "kind": "edge_shared_by_n_triangles",
81        "edge": [
82          2,
83          3
84        ],
85        "n": 1
86      },
87      {
88        "kind": "triangles_self_intersect",
89        "triangles": [
90          0,
91          1
92        ]
93      },
94      {
95        "kind": "triangle_area_lt",
96        "triangle": 1,
97        "lt": 4.0
98      }
99    ]
100  }
101}