Me051 — two SI pairs: maximum_number count-limit parameter is applicable

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

spec-violation

Sources

Description

two independent crossing triangle pairs at x=0 and x=10. When `maximum_number` NP is supplied, self_intersections_impl activates an early-termination counter. With limit=1 only pair A would be reported; the fixture provides both pairs to exercise the is_default_parameter check.

Reproducer recipe

pair A — apex (0,0,0) with XY-plane tri0 and XZ-plane tri1; pair B — apex (10,0,0) with XY tri2 and XZ tri3. Well-separated spatially.

Expected kernel behavior

with limit=1, stop after reporting pair A; uncapped, report both.

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      1.0,
11      0.0
12    ],
13    [
14      1.0,
15      -1.0,
16      0.0
17    ],
18    [
19      1.0,
20      0.0,
21      1.0
22    ],
23    [
24      1.0,
25      0.0,
26      -1.0
27    ],
28    [
29      10.0,
30      0.0,
31      0.0
32    ],
33    [
34      11.0,
35      1.0,
36      0.0
37    ],
38    [
39      11.0,
40      -1.0,
41      0.0
42    ],
43    [
44      11.0,
45      0.0,
46      1.0
47    ],
48    [
49      11.0,
50      0.0,
51      -1.0
52    ]
53  ],
54  "triangles": [
55    [
56      0,
57      1,
58      2
59    ],
60    [
61      0,
62      3,
63      4
64    ],
65    [
66      5,
67      6,
68      7
69    ],
70    [
71      5,
72      8,
73      9
74    ]
75  ],
76  "metadata": {
77    "id": "Me051",
78    "schema_version": 0,
79    "defect_class": "self_intersection_count_limit",
80    "title": "Two SI pairs: maximum_number count-limit applicable branch",
81    "assertions": [
82      {
83        "kind": "triangles_self_intersect",
84        "triangles": [
85          0,
86          1
87        ]
88      },
89      {
90        "kind": "triangles_self_intersect",
91        "triangles": [
92          2,
93          3
94        ]
95      }
96    ]
97  }
98}