Me380 — isDoubleFlat_empty_1ring: vertex has no incident edges; VE() NULL triggers Branch 1 return false

§12.14 mesh defects (sub-class: isDoubleFlat / empty-1ring)

topology

Sources

Description

Vertex v0=(0,0,0) is listed in the mesh but referenced by no triangle. It has zero incident edges; VE() returns NULL; Branch 1 of isDoubleFlat fires immediately and returns false. The remaining vertices v1-v4 form two valid flat triangles that do not include v0.

Reproducer recipe

v0=(0,0,0) isolated; v1=(1,0,0), v2=(2,0,0), v3=(1.5,1,0), v4=(0.5,1,0); t0=(v1,v2,v3), t1=(v1,v3,v4); no triangle references v0.

Expected kernel behavior

VE() for v0 returns NULL; isDoubleFlat short-circuits at Branch 1; returns false without scanning the 1-ring.

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      2.0,
15      0.0,
16      0.0
17    ],
18    [
19      1.5,
20      1.0,
21      0.0
22    ],
23    [
24      0.5,
25      1.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      1,
32      2,
33      3
34    ],
35    [
36      1,
37      3,
38      4
39    ]
40  ],
41  "metadata": {
42    "id": "Me380",
43    "schema_version": 0,
44    "defect_class": "isolated_vertex",
45    "title": "isDoubleFlat_empty_1ring: isolated vertex v0 has no incident edges; VE() NULL triggers Branch 1 return false",
46    "assertions": [
47      {
48        "kind": "isolated_vertex",
49        "vertex": 0
50      },
51      {
52        "kind": "edge_shared_by_n_triangles",
53        "edge": [
54          1,
55          3
56        ],
57        "n": 2
58      },
59      {
60        "kind": "edge_shared_by_n_triangles",
61        "edge": [
62          1,
63          2
64        ],
65        "n": 1
66      },
67      {
68        "kind": "edge_shared_by_n_triangles",
69        "edge": [
70          2,
71          3
72        ],
73        "n": 1
74      },
75      {
76        "kind": "edge_shared_by_n_triangles",
77        "edge": [
78          3,
79          4
80        ],
81        "n": 1
82      },
83      {
84        "kind": "edge_shared_by_n_triangles",
85        "edge": [
86          1,
87          4
88        ],
89        "n": 1
90      }
91    ]
92  }
93}