Me052 — zero-limit trivial rejection: maximum_number=0 returns immediately with no output

§12.14 mesh defects (sub-class: self-intersection/zero-limit)

spec-violation

Sources

Description

one crossing pair is present (XY triangle pierced by a tilted triangle). When `maximum_number == 0`, self_intersections_impl returns immediately before processing any face, producing empty output even though a real intersection exists. The fixture provides the geometry that would be returned under any positive limit.

Reproducer recipe

tri0=(0,0,0),(2,0,0),(1,2,0) in XY plane; tri1=(1,0.5,-1),(1,0.5,1),(3,0.5,0) tilted so edge v3–v4 pierces tri0's interior.

Expected kernel behavior

limit=0 → immediate empty return; limit≥1 → report the pair.

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      0.0,
11      0.0
12    ],
13    [
14      1.0,
15      2.0,
16      0.0
17    ],
18    [
19      1.0,
20      0.5,
21      -1.0
22    ],
23    [
24      1.0,
25      0.5,
26      1.0
27    ],
28    [
29      3.0,
30      0.5,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      3,
42      4,
43      5
44    ]
45  ],
46  "metadata": {
47    "id": "Me052",
48    "schema_version": 0,
49    "defect_class": "self_intersection_zero_limit",
50    "title": "Zero-limit trivial rejection: SI present but count=0 skips all detection",
51    "assertions": [
52      {
53        "kind": "triangles_self_intersect",
54        "triangles": [
55          0,
56          1
57        ]
58      }
59    ]
60  }
61}