Me242 — negligible_size area_check: use_areas=true; small component below explicit area_threshold

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

units

Sources

Description

Two disconnected components: a 4-triangle unit square (component A, area=2.0) and a tiny triangle at (10,10,0) with side 0.03 (area≈4.5e-4, component B). With explicit area_threshold=0.01, `use_areas` is true and Branch 3 (`if (use_areas)`) enables area-based per-component evaluation. Component B falls below threshold.

Reproducer recipe

v0-v5 form a 4-triangle unit-square patch (t0-t3); v6=(10,10,0), v7=(10.03,10,0), v8=(10,10.03,0) form the tiny triangle t4 (area≈4.5e-4).

Expected kernel behavior

use_areas=true; component areas computed; component B area < threshold → removed.

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      2.0,
25      0.0,
26      0.0
27    ],
28    [
29      2.0,
30      1.0,
31      0.0
32    ],
33    [
34      10.0,
35      10.0,
36      0.0
37    ],
38    [
39      10.03,
40      10.0,
41      0.0
42    ],
43    [
44      10.0,
45      10.03,
46      0.0
47    ]
48  ],
49  "triangles": [
50    [
51      0,
52      1,
53      2
54    ],
55    [
56      0,
57      2,
58      3
59    ],
60    [
61      1,
62      4,
63      5
64    ],
65    [
66      1,
67      5,
68      2
69    ],
70    [
71      6,
72      7,
73      8
74    ]
75  ],
76  "metadata": {
77    "id": "Me242",
78    "schema_version": 0,
79    "defect_class": "disconnected_components",
80    "title": "negligible_size area_check: use_areas=true; small component below explicit area_threshold",
81    "assertions": [
82      {
83        "kind": "triangle_not_reachable_from",
84        "target": 4,
85        "source": 0
86      },
87      {
88        "kind": "triangle_area_lt",
89        "triangle": 4,
90        "lt": 0.001
91      }
92    ]
93  }
94}