Me020 — internal SI in CC-A; CC-B clean: internal-vs-external SI classification

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

units

Sources

Description

two disconnected connected components. CC A (triangles 0,1) has a self-intersection internal to that CC (XY and XZ triangles crossing at the shared apex). CC B (triangles 2,3) is a clean flat quad 30 units away. The classification branch distinguishes internal SI (within a single CC) from external SI (across CCs). When treat_all_CCs=false, CC B is skipped; the oracle fixture confirms the SI is purely internal.

Reproducer recipe

CC A = crossing XY/XZ pair at origin; CC B = clean quad at y=30. No shared vertices.

Expected kernel behavior

classify SI as internal to CC A; skip CC B when treat_all_CCs=false; apply hole-fill only to CC A.

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      0.0,
30      30.0,
31      0.0
32    ],
33    [
34      1.0,
35      30.0,
36      0.0
37    ],
38    [
39      1.0,
40      31.0,
41      0.0
42    ],
43    [
44      0.0,
45      31.0,
46      0.0
47    ]
48  ],
49  "triangles": [
50    [
51      0,
52      1,
53      2
54    ],
55    [
56      0,
57      3,
58      4
59    ],
60    [
61      5,
62      6,
63      7
64    ],
65    [
66      5,
67      7,
68      8
69    ]
70  ],
71  "metadata": {
72    "id": "Me020",
73    "schema_version": 0,
74    "defect_class": "self_intersection_internal_cc",
75    "title": "internal SI in CC-A only; CC-B clean: internal-vs-external SI classification",
76    "assertions": [
77      {
78        "kind": "triangles_self_intersect",
79        "triangles": [
80          0,
81          1
82        ]
83      },
84      {
85        "kind": "triangle_not_reachable_from",
86        "target": 2,
87        "source": 0
88      }
89    ]
90  }
91}