Me053 — throw_on_SI mode: single crossing pair fires Throw_at_output_exception on first hit

§12.14 mesh defects (sub-class: self-intersection/throw-mode)

spec-violation

Sources

Description

single pair of crossing triangles (XY plane and XZ plane sharing apex). When `throw_on_SI` is set, this pair raises `Throw_at_output_exception` rather than appending to the output iterator. Minimal geometry to fire Branch 4; used by callers that only need boolean SI presence.

Reproducer recipe

v0=(0,0,0) apex; tri0=(v0,v1,v2) XY plane; tri1=(v0,v3,v4) XZ plane; edge v3–v4 crosses tri0's interior along the X-axis.

Expected kernel behavior

under throw_on_SI raise exception on this pair; under accumulate mode append (tri0,tri1).

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      2.0,
10      1.0,
11      0.0
12    ],
13    [
14      2.0,
15      -1.0,
16      0.0
17    ],
18    [
19      2.0,
20      0.0,
21      1.0
22    ],
23    [
24      2.0,
25      0.0,
26      -1.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      0,
37      3,
38      4
39    ]
40  ],
41  "metadata": {
42    "id": "Me053",
43    "schema_version": 0,
44    "defect_class": "self_intersection_throw_on_first",
45    "title": "throw_on_SI mode: single crossing pair fires exception on first hit",
46    "assertions": [
47      {
48        "kind": "triangles_self_intersect",
49        "triangles": [
50          0,
51          1
52        ]
53      }
54    ]
55  }
56}