Me265 — range_with_face_set marked_faces_topological_disk: non-link-condition edge removed via face-marking + disk validation

§12.14 mesh defects (sub-class: degenerate_edge / range-with-face-set)

topology

Sources

Description

A 6-triangle diamond mesh with a near-degenerate edge (v0,v1) where both link rings share outer vertices v2 and v3 (link condition violated). The surrounding 6 faces form a topological disk (Euler chi=1). Branch 6 marks these faces, validates the disk, and uses add_center_vertex to star-fill the hole.

Reproducer recipe

v0=(0,0,0), v1=(1e-10,0,0), v2=(0,1,0), v3=(0,-1,0), v4=(-1,0,0), v5=(1,0,0). 6 triangles: t0-t5 forming a complete diamond.

Expected kernel behavior

link condition violated; marked_faces form topological disk (chi=1); add_center_vertex fills the hole.

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      1e-10,
10      0.0,
11      0.0
12    ],
13    [
14      0.0,
15      1.0,
16      0.0
17    ],
18    [
19      0.0,
20      -1.0,
21      0.0
22    ],
23    [
24      -1.0,
25      0.0,
26      0.0
27    ],
28    [
29      1.0,
30      0.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      1,
42      0,
43      3
44    ],
45    [
46      4,
47      0,
48      2
49    ],
50    [
51      2,
52      1,
53      5
54    ],
55    [
56      4,
57      3,
58      0
59    ],
60    [
61      3,
62      5,
63      1
64    ]
65  ],
66  "metadata": {
67    "id": "Me265",
68    "schema_version": 0,
69    "defect_class": "degenerate_edge",
70    "title": "range_with_face_set marked_faces_topological_disk: non-link-condition edge removed via face-marking + disk validation",
71    "assertions": [
72      {
73        "kind": "edge_shared_by_n_triangles",
74        "edge": [
75          0,
76          1
77        ],
78        "n": 2
79      },
80      {
81        "kind": "vertex_pair_distance_lt",
82        "pair": [
83          0,
84          1
85        ],
86        "lt": 1e-09
87      },
88      {
89        "kind": "triangle_area_lt",
90        "triangle": 0,
91        "lt": 1e-07
92      },
93      {
94        "kind": "triangle_area_lt",
95        "triangle": 1,
96        "lt": 1e-07
97      },
98      {
99        "kind": "euler_characteristic",
100        "v": 6,
101        "e": 11,
102        "f": 6,
103        "chi": 1
104      }
105    ]
106  }
107}