Me552 — checkAndRepair::rebuildConnectivity VERTEX_POINTER_INDIRECTION_V1: e->v1 for p3 (=p1 at (2,0,0)) has info!=self after unification; v1 dereferenced to canonical (Branch 3)

§12.14 mesh defects (sub-class: rebuild-connectivity / vertex-pointer-indirection-v1)

topology

Sources

Description

Three triangles fanned around hub edge (p0,p2). Boundary vertices p1 and p3 both sit at (2,0,0) but are topologically distinct. After the Branch 2 sorted-walk, p3->info=p1. In the subsequent edge scan, any edge whose v1 endpoint is p3 detects e->v1->info != e->v1 (p3's info points to p1, not p3) → Branch 3 fires and v1 is updated to the canonical p1. Interior edge (p0,p2) is shared by all three triangles (n=3); six boundary edges n=1. Euler: V=5, E=7, F=3, chi=1.

Reproducer recipe

p0=(0,0,0), p1=(2,0,0), p2=(1,2,0), p3=(2,0,0) [=p1], p4=(0,2,0); t0=(p0,p1,p2), t1=(p0,p2,p3), t2=(p0,p4,p2); assert_edge_shared(p0,p2,3); six boundary edges n=1; vertex_pair_distance_lt(p1,p3,1e-9); vertex_pair_no_shared_triangle(p1,p3); euler V=5,E=7,F=3,chi=1.

Expected kernel behavior

Branch 3 fires for every edge referencing p3 as v1; each such edge's v1 is dereferenced to p1 (the canonical representative).

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      2.0,
20      0.0,
21      0.0
22    ],
23    [
24      0.0,
25      2.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      0,
37      2,
38      3
39    ],
40    [
41      0,
42      4,
43      2
44    ]
45  ],
46  "metadata": {
47    "id": "Me552",
48    "schema_version": 0,
49    "defect_class": "near_coincident_vertex",
50    "title": "checkAndRepair::rebuildConnectivity VERTEX_POINTER_INDIRECTION_V1: e->v1 for p3 (=p1 at (2,0,0)) has info!=self after unification; v1 dereferenced to canonical (Branch 3)",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          2
57        ],
58        "n": 3
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          0,
64          1
65        ],
66        "n": 1
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          1,
72          2
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          2,
80          3
81        ],
82        "n": 1
83      },
84      {
85        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          0,
88          3
89        ],
90        "n": 1
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          0,
96          4
97        ],
98        "n": 1
99      },
100      {
101        "kind": "edge_shared_by_n_triangles",
102        "edge": [
103          2,
104          4
105        ],
106        "n": 1
107      },
108      {
109        "kind": "vertex_pair_distance_lt",
110        "pair": [
111          1,
112          3
113        ],
114        "lt": 1e-09
115      },
116      {
117        "kind": "vertex_pair_no_shared_triangle",
118        "pair": [
119          1,
120          3
121        ]
122      },
123      {
124        "kind": "euler_characteristic",
125        "v": 5,
126        "e": 7,
127        "f": 3,
128        "chi": 1
129      }
130    ]
131  }
132}