Me660 — merge_duplicate_points_in_polygon_soup empty_input: zero-polygon soup; ini_points_n==0 causes immediate return; single isolated vertex as structural contrast (Branch 1)

§12.14 mesh defects (sub-class: isolated-vertex / empty-polygon-soup)

topology

Sources

Description

A polygon soup with zero polygons causes immediate return at line 538 — no deduplication scan, no unique-point accumulation, no index remapping. Fixture uses a single isolated vertex with no triangles as the structural contrast: the vertex proves vertex storage is present, but the empty polygon list means ini_points_n==0 and Branch 1 fires. The isolated_vertex assertion documents that v0 is unreferenced by any polygon.

Reproducer recipe

v0=(0,0,0); no triangles; assert_isolated_vertex(v0).

Expected kernel behavior

Branch 1 fires; algorithm returns immediately; polygon soup remains unchanged; no point_to_id map is constructed; no unique_points list is populated.

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  "triangles": [],
10  "metadata": {
11    "id": "Me660",
12    "schema_version": 0,
13    "defect_class": "isolated_vertex",
14    "title": "merge_duplicate_points_in_polygon_soup empty_input: zero-polygon soup; ini_points_n==0 causes immediate return; single isolated vertex as structural contrast (Branch 1)",
15    "assertions": [
16      {
17        "kind": "isolated_vertex",
18        "vertex": 0
19      }
20    ]
21  }
22}