Me365 — remove_isolated_points_physical_erase: two orphan tail vertices erased from points container

§12.14 mesh defects (sub-class: isolated_vertex / remove-isolated-points-in-polygon-soup)

topology

Sources

Description

A quad (two triangles sharing diagonal) with vertices v0–v3, plus two isolated vertices v4=(8,8,0) and v5=(9,9,0) appended at the end of the vertex list. After detection swaps v4 and v5 into the tail, Branch 6 erases the last 2 entries from the points container, leaving a clean 4-vertex soup.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(1,1,0), v3=(0,1,0), v4=(8,8,0), v5=(9,9,0); t0=(v0,v1,v2), t1=(v0,v2,v3); isolated_vertex(4); isolated_vertex(5); diagonal edge [0,2] n=2.

Expected kernel behavior

Branch 6 fires; points.erase removes 2 tail entries; remap follows for the 4 surviving vertices.

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      1.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      1.0,
21      0.0
22    ],
23    [
24      8.0,
25      8.0,
26      0.0
27    ],
28    [
29      9.0,
30      9.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      0,
42      2,
43      3
44    ]
45  ],
46  "metadata": {
47    "id": "Me365",
48    "schema_version": 0,
49    "defect_class": "isolated_vertex",
50    "title": "remove_isolated_points_physical_erase: two orphan tail vertices erased from points container",
51    "assertions": [
52      {
53        "kind": "isolated_vertex",
54        "vertex": 4
55      },
56      {
57        "kind": "isolated_vertex",
58        "vertex": 5
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          0,
64          2
65        ],
66        "n": 2
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          0,
72          1
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        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          2,
88          3
89        ],
90        "n": 1
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          0,
96          3
97        ],
98        "n": 1
99      }
100    ]
101  }
102}