Me860 — strongIntersectionRemoval intersection-detection trigger: selectIntersectingTriangles non-empty; enters removal loop (Branch 1)

§12.14 mesh defects (sub-class: self-intersection/si-detection-trigger)

units

Sources

Description

triangle 0 is a flat base in the XY plane. Triangle 1 is an intruder spanning from z=+1 to z=-1, piercing triangle 0 through its interior. Two additional clean triangles (2 and 3) form a separate connected component 30 units away. The presence of at least one SI pair causes `selectIntersectingTriangles()` to return a non-empty set, exercising Branch 1 where the removal loop is entered rather than exiting with immediate success.

Reproducer recipe

tri 0 = `(0,0,0),(2,0,0),(1,2,0)` in XY; tri 1 = `(1,0.8,1),(1,0.8,-1),(0,0.8,0)` straddling z=0; tris 2-3 = clean quad at y=30.

Expected kernel behavior

selectIntersectingTriangles returns {tri 0, tri 1}; removal loop entered; at least one iteration of SI repair runs.

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.8,
21      1.0
22    ],
23    [
24      1.0,
25      0.8,
26      -1.0
27    ],
28    [
29      0.0,
30      0.8,
31      0.0
32    ],
33    [
34      0.0,
35      30.0,
36      0.0
37    ],
38    [
39      1.0,
40      30.0,
41      0.0
42    ],
43    [
44      1.0,
45      31.0,
46      0.0
47    ],
48    [
49      0.0,
50      31.0,
51      0.0
52    ]
53  ],
54  "triangles": [
55    [
56      0,
57      1,
58      2
59    ],
60    [
61      3,
62      4,
63      5
64    ],
65    [
66      6,
67      7,
68      8
69    ],
70    [
71      6,
72      8,
73      9
74    ]
75  ],
76  "metadata": {
77    "id": "Me860",
78    "schema_version": 0,
79    "defect_class": "self_intersection",
80    "title": "strongIntersectionRemoval intersection-detection trigger: selectIntersectingTriangles non-empty (Branch 1)",
81    "assertions": [
82      {
83        "kind": "triangles_self_intersect",
84        "triangles": [
85          0,
86          1
87        ]
88      },
89      {
90        "kind": "triangles_do_not_intersect",
91        "triangles": [
92          2,
93          3
94        ]
95      },
96      {
97        "kind": "triangle_not_reachable_from",
98        "target": 2,
99        "source": 0
100      }
101    ]
102  }
103}