Me133 — removeIfRedundant_overlapping_incident_edge: incident edge collinear-overlap blocks vertex removal

§12.14 mesh defects (sub-class: redundant-vertex removal / edge overlap)

topology

Sources

Description

Vertex v2=(1,0,0) lies on segment v0-v1 in the mesh. The incident edge (v0,v2) overlaps with edge (v0,v1) which is part of triangle t2. e->overlaps() returns true and removeIfRedundant returns false because the edge topology is too complex for a safe vertex collapse.

Reproducer recipe

v0=(0,0,0), v1=(3,0,0), v2=(1,0,0), v3=(0,1,0), v4=(3,1,0). t0=(v0,v2,v3), t1=(v2,v1,v4), t2=(v0,v1,v3) — t2 has long edge (v0,v1) that contains v2.

Expected kernel behavior

e->overlaps() fires; removeIfRedundant returns false.

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      3.0,
10      0.0,
11      0.0
12    ],
13    [
14      1.0,
15      0.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      3.0,
25      1.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      2,
33      3
34    ],
35    [
36      2,
37      1,
38      4
39    ],
40    [
41      0,
42      1,
43      3
44    ]
45  ],
46  "metadata": {
47    "id": "Me133",
48    "schema_version": 0,
49    "defect_class": "redundant_vertex_removal_edge_overlap",
50    "title": "removeIfRedundant_overlapping_incident_edge: incident edge collinear-overlap blocks vertex removal",
51    "assertions": [
52      {
53        "kind": "vertex_on_edge",
54        "vertex": 2,
55        "edge": [
56          0,
57          1
58        ]
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          0,
64          3
65        ],
66        "n": 2
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          0,
72          2
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          1,
80          2
81        ],
82        "n": 1
83      }
84    ]
85  }
86}