Me311 — watsonInsert_cavity_vertex_v1: v1 of removed triangle appended to cavity boundary (Branch 2)

§12.14 mesh defects (sub-class: holeFilling / watsonInsert / cavity-vertex-v1)

topology

Sources

Description

A 3-triangle fan with hub v3=(1,0.5,0) and outer ring v0,v1,v2. When cavity triangle t0=(v0,v1,v3) is removed, v1 (the second vertex in the half-edge walk order) is new to the boundary list — Branch 2 fires, appending v1 to 'bdr' and marking bit 5.

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(1,2,0), v3=(1,0.5,0); t0=(v0,v1,v3), t1=(v1,v2,v3), t2=(v2,v0,v3); assert hub edges n=2, outer edges n=1, hole_boundary [v0,v1,v2].

Expected kernel behavior

Branch 2 fires when v1 of t0 is first encountered; v1 added to bdr and marked.

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      2.0,
10      0.0,
11      0.0
12    ],
13    [
14      1.0,
15      2.0,
16      0.0
17    ],
18    [
19      1.0,
20      0.5,
21      0.0
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      1,
28      3
29    ],
30    [
31      1,
32      2,
33      3
34    ],
35    [
36      2,
37      0,
38      3
39    ]
40  ],
41  "metadata": {
42    "id": "Me311",
43    "schema_version": 0,
44    "defect_class": "hole_in_hull",
45    "title": "watsonInsert_cavity_vertex_v1: v1 of removed triangle appended to cavity boundary (Branch 2)",
46    "assertions": [
47      {
48        "kind": "edge_shared_by_n_triangles",
49        "edge": [
50          0,
51          3
52        ],
53        "n": 2
54      },
55      {
56        "kind": "edge_shared_by_n_triangles",
57        "edge": [
58          1,
59          3
60        ],
61        "n": 2
62      },
63      {
64        "kind": "edge_shared_by_n_triangles",
65        "edge": [
66          2,
67          3
68        ],
69        "n": 2
70      },
71      {
72        "kind": "edge_shared_by_n_triangles",
73        "edge": [
74          0,
75          1
76        ],
77        "n": 1
78      },
79      {
80        "kind": "edge_shared_by_n_triangles",
81        "edge": [
82          1,
83          2
84        ],
85        "n": 1
86      },
87      {
88        "kind": "edge_shared_by_n_triangles",
89        "edge": [
90          0,
91          2
92        ],
93        "n": 1
94      },
95      {
96        "kind": "hole_boundary",
97        "loop": [
98          0,
99          1,
100          2
101        ]
102      }
103    ]
104  }
105}