Me360 — remove_isolated_points_empty_input: empty vertex list triggers early return with 0 removed

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

topology

Sources

Description

Completely empty polygon soup — 0 vertices, 0 triangles. The function detects the empty points container immediately and returns 0 without touching polygons. Branch 1 exercises the short-circuit path so that no detection or erase phases execute.

Reproducer recipe

No vertices, no triangles; euler_characteristic v=0 e=0 f=0 chi=0.

Expected kernel behavior

Branch 1 fires; function returns 0 immediately; downstream remap and erase steps never reached.

Expected validation

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1{
2  "vertices": [],
3  "triangles": [],
4  "metadata": {
5    "id": "Me360",
6    "schema_version": 0,
7    "defect_class": "isolated_vertex",
8    "title": "remove_isolated_points_empty_input: empty vertex list triggers early return with 0 removed",
9    "assertions": [
10      {
11        "kind": "euler_characteristic",
12        "v": 0,
13        "e": 0,
14        "f": 0,
15        "chi": 0
16      }
17    ]
18  }
19}