Me131 — removeIfRedundant_check_neighborhood: vertex with healthy non-degenerate incident triangles

§12.14 mesh defects (sub-class: redundant-vertex removal / neighborhood check)

topology

Sources

Description

Interior vertex v3=(2,1,0) has three incident triangles all with positive area. When check_neighborhood is enabled, the algorithm scans via VT() and finds no degenerate triangle; the neighborhood check passes without returning false.

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(4,0,0), v3=(2,1,0), v4=(0,2,0). Fan: t0=(v0,v1,v3), t1=(v1,v2,v3), t2=(v4,v0,v3).

Expected kernel behavior

neighborhood check passes; algorithm continues to DoubleFlat/Flat evaluation.

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      2.0,
10      0.0,
11      0.0
12    ],
13    [
14      4.0,
15      0.0,
16      0.0
17    ],
18    [
19      2.0,
20      1.0,
21      0.0
22    ],
23    [
24      0.0,
25      2.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      3
34    ],
35    [
36      1,
37      2,
38      3
39    ],
40    [
41      4,
42      0,
43      3
44    ]
45  ],
46  "metadata": {
47    "id": "Me131",
48    "schema_version": 0,
49    "defect_class": "redundant_vertex_removal_neighborhood_check",
50    "title": "removeIfRedundant_check_neighborhood: vertex with three healthy non-degenerate incident triangles",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          3
57        ],
58        "n": 2
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          1,
64          3
65        ],
66        "n": 2
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          2,
72          3
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          3,
80          4
81        ],
82        "n": 1
83      },
84      {
85        "kind": "triangle_area_lt",
86        "triangle": 0,
87        "lt": 2.0
88      },
89      {
90        "kind": "triangle_area_lt",
91        "triangle": 1,
92        "lt": 2.0
93      },
94      {
95        "kind": "triangle_area_lt",
96        "triangle": 2,
97        "lt": 4.0
98      }
99    ]
100  }
101}