Me1112 — displaced fan-apex below flat patch causing SI: use_smoothing strategy branch

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

topology

Sources

Description

triangles 0,1,2 form a flat 3-triangle fan in the Z=0 plane around hub vertex 0. Triangle 3 is an intruder: its top vertex (v5) is correctly placed at Z=0, but its apex (v6) has been displaced to Z=-0.8, pulling it below the fan plane. This causes tri 3 to intersect tri 0. A smoothing pass that lifts v6 back to Z≈0 resolves the SI without topological changes.

Reproducer recipe

hub=(0,0,0); fan radials at r0=(1,0,0), r1=(0.5,1,0), r2=(-0.5,1,0), r3=(-1,0,0); tri 0=(hub,r0,r1), tri 1=(hub,r1,r2), tri 2=(hub,r2,r3); intruder top=(0.5,2,0), apex=(0.5,1,-0.8); tri 3=(r1,top,apex). assert_triangles_self_intersect(0,3).

Expected kernel behavior

detect SI between fan and intruder; apply vertex smoothing to move apex back toward Z=0; when use_smoothing=false, fall back to hole-filling instead.

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      0.0,
11      0.0
12    ],
13    [
14      0.5,
15      1.0,
16      0.0
17    ],
18    [
19      -0.5,
20      1.0,
21      0.0
22    ],
23    [
24      -1.0,
25      0.0,
26      0.0
27    ],
28    [
29      0.5,
30      2.0,
31      0.0
32    ],
33    [
34      0.5,
35      1.0,
36      -0.8
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      0,
47      2,
48      3
49    ],
50    [
51      0,
52      3,
53      4
54    ],
55    [
56      2,
57      5,
58      6
59    ]
60  ],
61  "metadata": {
62    "id": "Me1112",
63    "schema_version": 0,
64    "defect_class": "self_intersection_smoothable",
65    "title": "displaced apex below flat fan causing SI: use_smoothing strategy branch",
66    "assertions": [
67      {
68        "kind": "triangles_self_intersect",
69        "triangles": [
70          0,
71          3
72        ]
73      }
74    ]
75  }
76}