Me644 — holeFilling::fillSmallBoundaries PATCH_TRIANGULATION_WITH_REFINEMENT: 4-edge hole filled + Steiner point refined (Branch 5)

§12.14 mesh defects (sub-class: boundary_hole / hole-fill-refinement)

topology

Sources

Description

A mesh with a quadrilateral hole (4-edge boundary). TriangulateHole fills it with four triangles and a Steiner point sc=(1.5,1.5,0) at the patch centroid. With refine_patches=true, Branch 5 fires and calls refineSelectedHolePatches to apply Laplacian-style smoothing and edge splits on the new patch. All edges from sc are interior (n=2).

Reproducer recipe

4 frame triangles surrounding quadrilateral hole (h0-h3); fill triangles tp0-tp3 from Steiner point sc; all edges from sc n=2; frame outer edges n=1; euler V=9, E=16, F=8, chi=1.

Expected kernel behavior

Branch 5 fires; TriangulateHole succeeds and refine_patches=true; refineSelectedHolePatches called on the 4-triangle patch.

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      3.0,
15      3.0,
16      0.0
17    ],
18    [
19      0.0,
20      3.0,
21      0.0
22    ],
23    [
24      1.5,
25      -2.0,
26      0.0
27    ],
28    [
29      5.0,
30      1.5,
31      0.0
32    ],
33    [
34      1.5,
35      5.0,
36      0.0
37    ],
38    [
39      -2.0,
40      1.5,
41      0.0
42    ],
43    [
44      1.5,
45      1.5,
46      0.0
47    ]
48  ],
49  "triangles": [
50    [
51      0,
52      1,
53      4
54    ],
55    [
56      1,
57      2,
58      5
59    ],
60    [
61      2,
62      3,
63      6
64    ],
65    [
66      3,
67      0,
68      7
69    ],
70    [
71      0,
72      1,
73      8
74    ],
75    [
76      1,
77      2,
78      8
79    ],
80    [
81      2,
82      3,
83      8
84    ],
85    [
86      3,
87      0,
88      8
89    ]
90  ],
91  "metadata": {
92    "id": "Me644",
93    "schema_version": 0,
94    "defect_class": "boundary_hole",
95    "title": "holeFilling::fillSmallBoundaries PATCH_TRIANGULATION_WITH_REFINEMENT: 4-edge hole filled by TriangulateHole; Steiner point sc inserted by refineSelectedHolePatches (Branch 5)",
96    "assertions": [
97      {
98        "kind": "edge_shared_by_n_triangles",
99        "edge": [
100          0,
101          1
102        ],
103        "n": 2
104      },
105      {
106        "kind": "edge_shared_by_n_triangles",
107        "edge": [
108          1,
109          2
110        ],
111        "n": 2
112      },
113      {
114        "kind": "edge_shared_by_n_triangles",
115        "edge": [
116          2,
117          3
118        ],
119        "n": 2
120      },
121      {
122        "kind": "edge_shared_by_n_triangles",
123        "edge": [
124          0,
125          3
126        ],
127        "n": 2
128      },
129      {
130        "kind": "edge_shared_by_n_triangles",
131        "edge": [
132          0,
133          8
134        ],
135        "n": 2
136      },
137      {
138        "kind": "edge_shared_by_n_triangles",
139        "edge": [
140          1,
141          8
142        ],
143        "n": 2
144      },
145      {
146        "kind": "edge_shared_by_n_triangles",
147        "edge": [
148          2,
149          8
150        ],
151        "n": 2
152      },
153      {
154        "kind": "edge_shared_by_n_triangles",
155        "edge": [
156          3,
157          8
158        ],
159        "n": 2
160      },
161      {
162        "kind": "edge_shared_by_n_triangles",
163        "edge": [
164          0,
165          4
166        ],
167        "n": 1
168      },
169      {
170        "kind": "edge_shared_by_n_triangles",
171        "edge": [
172          1,
173          4
174        ],
175        "n": 1
176      },
177      {
178        "kind": "edge_shared_by_n_triangles",
179        "edge": [
180          1,
181          5
182        ],
183        "n": 1
184      },
185      {
186        "kind": "edge_shared_by_n_triangles",
187        "edge": [
188          2,
189          5
190        ],
191        "n": 1
192      },
193      {
194        "kind": "edge_shared_by_n_triangles",
195        "edge": [
196          2,
197          6
198        ],
199        "n": 1
200      },
201      {
202        "kind": "edge_shared_by_n_triangles",
203        "edge": [
204          3,
205          6
206        ],
207        "n": 1
208      },
209      {
210        "kind": "edge_shared_by_n_triangles",
211        "edge": [
212          3,
213          7
214        ],
215        "n": 1
216      },
217      {
218        "kind": "edge_shared_by_n_triangles",
219        "edge": [
220          0,
221          7
222        ],
223        "n": 1
224      },
225      {
226        "kind": "euler_characteristic",
227        "v": 9,
228        "e": 16,
229        "f": 8,
230        "chi": 1
231      }
232    ]
233  }
234}