Me307 — retriangulateSelectedRegion_hole_triangulation: TriangulateHole with Steiner point (Branch 8)

§12.14 mesh defects (sub-class: retriangulateSelectedRegion / hole-triangulation)

topology

Sources

Description

Post-retriangulation state: triangular hole (v0,v1,v2) has been re-filled with 3 Delaunay triangles using Steiner point vs=(1.5,1.0,0). Three frame triangles provide context. All edges from vs are interior (n=2); the original hole-boundary edges are now interior (n=2) shared between frame and re-tri triangles. Euler V=7,E=12,F=6,chi=1 confirms open-disk topology.

Reproducer recipe

v0=(0,0,0), v1=(3,0,0), v2=(1.5,3,0); vs=(1.5,1,0); 3 frame triangles + 3 re-tri triangles; assert edges (vX,vs) n=2; former boundary edges n=2; euler V=7,E=12,F=6,chi=1.

Expected kernel behavior

Branch 8 calls `TriangulateHole(e, vl)`; hole filled with 3 new triangles incorporating the Steiner point vs; mesh is repaired.

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      3.0,
10      0.0,
11      0.0
12    ],
13    [
14      1.5,
15      3.0,
16      0.0
17    ],
18    [
19      1.5,
20      1.0,
21      0.0
22    ],
23    [
24      1.5,
25      -2.0,
26      0.0
27    ],
28    [
29      4.5,
30      3.0,
31      0.0
32    ],
33    [
34      -1.5,
35      3.0,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      4
44    ],
45    [
46      1,
47      2,
48      5
49    ],
50    [
51      2,
52      0,
53      6
54    ],
55    [
56      0,
57      1,
58      3
59    ],
60    [
61      1,
62      2,
63      3
64    ],
65    [
66      2,
67      0,
68      3
69    ]
70  ],
71  "metadata": {
72    "id": "Me307",
73    "schema_version": 0,
74    "defect_class": "retriangulate_region_hole_fill",
75    "title": "retriangulateSelectedRegion_hole_triangulation: TriangulateHole with Steiner point (Branch 8)",
76    "assertions": [
77      {
78        "kind": "edge_shared_by_n_triangles",
79        "edge": [
80          0,
81          3
82        ],
83        "n": 2
84      },
85      {
86        "kind": "edge_shared_by_n_triangles",
87        "edge": [
88          1,
89          3
90        ],
91        "n": 2
92      },
93      {
94        "kind": "edge_shared_by_n_triangles",
95        "edge": [
96          2,
97          3
98        ],
99        "n": 2
100      },
101      {
102        "kind": "edge_shared_by_n_triangles",
103        "edge": [
104          0,
105          1
106        ],
107        "n": 2
108      },
109      {
110        "kind": "edge_shared_by_n_triangles",
111        "edge": [
112          1,
113          2
114        ],
115        "n": 2
116      },
117      {
118        "kind": "edge_shared_by_n_triangles",
119        "edge": [
120          0,
121          2
122        ],
123        "n": 2
124      },
125      {
126        "kind": "euler_characteristic",
127        "v": 7,
128        "e": 12,
129        "f": 6,
130        "chi": 1
131      }
132    ]
133  }
134}