Me180 — split_edge_point_equals_v1: split point coincides with v1, early return

§12.14 mesh defects (sub-class: splitEdge / degenerate)

topology

Sources

Description

A single open triangle t0=(v0,v1,v2). Vertex vp=(0,0,0) is coincident with v0 (the proposed split point p equals edge endpoint v1 in MeshFix naming). splitEdge detects (*p)==(*(e->v1)) and returns v1 without creating any new geometry.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0), vp=(0,0,0); t0=(v0,v1,v2). vp coincident with v0.

Expected kernel behavior

splitEdge returns e->v1 immediately; no new vertex, edge, or triangle is created.

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      0.0,
20      0.0,
21      0.0
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      1,
28      2
29    ]
30  ],
31  "metadata": {
32    "id": "Me180",
33    "schema_version": 0,
34    "defect_class": "split_edge_degenerate",
35    "title": "split_edge_point_equals_v1: split point coincides with v1, early return",
36    "assertions": [
37      {
38        "kind": "edge_shared_by_n_triangles",
39        "edge": [
40          0,
41          1
42        ],
43        "n": 1
44      },
45      {
46        "kind": "edge_shared_by_n_triangles",
47        "edge": [
48          0,
49          2
50        ],
51        "n": 1
52      },
53      {
54        "kind": "edge_shared_by_n_triangles",
55        "edge": [
56          1,
57          2
58        ],
59        "n": 1
60      },
61      {
62        "kind": "vertex_pair_distance_lt",
63        "pair": [
64          0,
65          3
66        ],
67        "lt": 1e-09
68      }
69    ]
70  }
71}