Me010 — sliver triangle: aspect ratio > 100, needle aligned along X

§12.14 mesh defects (sub-class: degeneracy/needle)

units

Sources

Description

triangle 1 is a needle-sliver with base ~1.0 unit and altitude 0.001 units, giving aspect ratio (longest-edge × semi-perimeter / (4 × area)) ≈ 500. The face normal is numerically unstable; barycentric computations and normal interpolation will amplify floating-point error. CGAL `is_needle_triangle_face` flags it; `remove_almost_degenerate_faces` collapses it.

Reproducer recipe

clean control triangle `(0,0,0),(1,0,0),(0.5,1,0)`; needle triangle `(0,-1,0),(1,-1,0),(0.5,-0.999,0)` — base 1.0, altitude 0.001.

Expected kernel behavior

detect triangles with aspect ratio above threshold and either collapse the short edge or split the long one.

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.0,
20      -1.0,
21      0.0
22    ],
23    [
24      1.0,
25      -1.0,
26      0.0
27    ],
28    [
29      0.5,
30      -0.999,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      3,
42      4,
43      5
44    ]
45  ],
46  "metadata": {
47    "id": "Me010",
48    "schema_version": 0,
49    "defect_class": "needle_triangle",
50    "title": "sliver triangle: aspect ratio > 500, needle aligned along X",
51    "assertions": [
52      {
53        "kind": "triangle_area_lt",
54        "triangle": 1,
55        "lt": 0.001
56      },
57      {
58        "kind": "triangle_aspect_ratio_gt",
59        "triangle": 1,
60        "gt": 100.0
61      }
62    ]
63  }
64}