Me240 — negligible_size area_threshold_default: tiny component below bbox-derived area threshold

§12.14 mesh defects (sub-class: disconnected_components / negligible-size)

spec-violation

Sources

Description

Two disconnected components: a 4-triangle patch near the origin (component A) and a microscopic triangle at (10,10,0) with area ≈ 5e-5 (component B). When no explicit area threshold is supplied, Branch 1 computes `area_threshold = 0.01 * bbox_diagonal^2`. The tiny triangle's area is far below this default, so component B would be removed. Exercises `is_default_area_threshold` / `bbox_diagonal` inference path.

Reproducer recipe

v0-v4 form a pyramid patch (t0-t3); v5=(10,10,0), v6=(10.01,10,0), v7=(10,10.01,0) form the micro-triangle t4 (area≈5e-5).

Expected kernel behavior

infer area_threshold from bbox diagonal; micro-component area < threshold → flagged for removal.

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      1.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      0.5,
25      0.5,
26      1.0
27    ],
28    [
29      10.0,
30      10.0,
31      0.0
32    ],
33    [
34      10.01,
35      10.0,
36      0.0
37    ],
38    [
39      10.0,
40      10.01,
41      0.0
42    ]
43  ],
44  "triangles": [
45    [
46      0,
47      1,
48      2
49    ],
50    [
51      0,
52      2,
53      3
54    ],
55    [
56      0,
57      1,
58      4
59    ],
60    [
61      1,
62      2,
63      4
64    ],
65    [
66      5,
67      6,
68      7
69    ]
70  ],
71  "metadata": {
72    "id": "Me240",
73    "schema_version": 0,
74    "defect_class": "disconnected_components",
75    "title": "negligible_size area_threshold_default: tiny component below bbox-derived area threshold",
76    "assertions": [
77      {
78        "kind": "triangle_not_reachable_from",
79        "target": 4,
80        "source": 0
81      },
82      {
83        "kind": "triangle_area_lt",
84        "triangle": 4,
85        "lt": 0.001
86      }
87    ]
88  }
89}