Me414 — refineSelectedHolePatches_vertex_split_density_check: large sparse triangle; all dv>sigma → centroid vertex inserted (Branch 5)

§12.14 mesh defects (sub-class: hole-fill refinement / vertex-split-density)

topology

Sources

Description

Single large triangle v0=(0,0,0), v1=(6,0,0), v2=(3,5,0). Centroid at (3, 5/3, 0). Vertex-to-centroid distances: dv0≈3.43, dv1≈3.43, dv2≈3.33 — all greatly exceed any plausible sigma≈1.0 and local average sv. All three density conditions satisfied → Branch 5 fires, centroid vertex inserted, nnt incremented. Aspect ratio ≈1.77 confirms sparseness. Euler: V=3, E=3, F=1, chi=1.

Reproducer recipe

v0=(0,0,0), v1=(6,0,0), v2=(3,5,0); t0=(v0,v1,v2); all 3 edges boundary (n=1); assert_triangle_aspect_ratio_gt(t0, 1.5); euler V=3,E=3,F=1,chi=1.

Expected kernel behavior

Branch 5 fires for t0; centroid=(3,5/3,0) inserted as new vertex; splitTriangle called; nnt incremented; next iteration finds pnnt != nnt (no convergence yet).

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      6.0,
10      0.0,
11      0.0
12    ],
13    [
14      3.0,
15      5.0,
16      0.0
17    ]
18  ],
19  "triangles": [
20    [
21      0,
22      1,
23      2
24    ]
25  ],
26  "metadata": {
27    "id": "Me414",
28    "schema_version": 0,
29    "defect_class": "hole_in_hull",
30    "title": "refineSelectedHolePatches_vertex_split_density_check: large sparse triangle triggers centroid insertion (Branch 5)",
31    "assertions": [
32      {
33        "kind": "edge_shared_by_n_triangles",
34        "edge": [
35          0,
36          1
37        ],
38        "n": 1
39      },
40      {
41        "kind": "edge_shared_by_n_triangles",
42        "edge": [
43          1,
44          2
45        ],
46        "n": 1
47      },
48      {
49        "kind": "edge_shared_by_n_triangles",
50        "edge": [
51          0,
52          2
53        ],
54        "n": 1
55      },
56      {
57        "kind": "triangle_aspect_ratio_gt",
58        "triangle": 0,
59        "gt": 1.5
60      },
61      {
62        "kind": "euler_characteristic",
63        "v": 3,
64        "e": 3,
65        "f": 1,
66        "chi": 1
67      }
68    ]
69  }
70}