Me218 — cutAndStitch_cleanup_unlinked: isolated orphan vertex swept by removeUnlinkedElements()

§12.14 mesh defects (sub-class: cutAndStitch / cleanup-unlinked)

units

Sources

Description

After pinch operations, original seam vertices may become orphaned (not referenced by any triangle). removeUnlinkedElements() sweeps and frees these dangling elements. Geometry: a single triangle (v0,v1,v2) plus isolated vertex v3=(2,2,2) not in any triangle.

Reproducer recipe

triangle + isolated vertex v3; isolated_vertex assertion.

Expected kernel behavior

removeUnlinkedElements() frees v3 (and any similar orphaned edges/triangles).

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      2.0,
20      2.0,
21      2.0
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      1,
28      2
29    ]
30  ],
31  "metadata": {
32    "id": "Me218",
33    "schema_version": 0,
34    "defect_class": "isolated_vertex",
35    "title": "cutAndStitch_cleanup_unlinked: isolated orphan vertex swept by removeUnlinkedElements()",
36    "assertions": [
37      {
38        "kind": "isolated_vertex",
39        "vertex": 3
40      },
41      {
42        "kind": "edge_shared_by_n_triangles",
43        "edge": [
44          0,
45          1
46        ],
47        "n": 1
48      },
49      {
50        "kind": "edge_shared_by_n_triangles",
51        "edge": [
52          1,
53          2
54        ],
55        "n": 1
56      },
57      {
58        "kind": "edge_shared_by_n_triangles",
59        "edge": [
60          0,
61          2
62        ],
63        "n": 1
64      }
65    ]
66  }
67}