Me553 — checkAndRepair::rebuildConnectivity VERTEX_POINTER_INDIRECTION_V2: e->v2 for q3 (=q1 at (3,0,0)) has info!=self after unification; v2 dereferenced to canonical (Branch 4)

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

topology

Sources

Description

Three triangles fanned around hub edge (q0,q2). Boundary vertices q1 and q3 both sit at (3,0,0) but are topologically distinct. After the Branch 2 sorted-walk, q3->info=q1. In the edge scan, any edge whose v2 endpoint is q3 detects e->v2->info != e->v2 → Branch 4 fires and v2 is updated to canonical q1. This is the symmetric counterpart to Branch 3, covering the second vertex slot of each edge. Interior edge (q0,q2) shared by all three triangles (n=3); six boundary edges n=1. Euler: V=5, E=7, F=3, chi=1.

Reproducer recipe

q0=(0,0,0), q1=(3,0,0), q2=(1.5,2,0), q3=(3,0,0) [=q1], q4=(0,3,0); t0=(q0,q1,q2), t1=(q2,q3,q0), t2=(q0,q2,q4); assert_edge_shared(q0,q2,3); six boundary edges n=1; vertex_pair_distance_lt(q1,q3,1e-9); vertex_pair_no_shared_triangle(q1,q3); euler V=5,E=7,F=3,chi=1.

Expected kernel behavior

Branch 4 fires for edges referencing q3 as v2; each such edge's v2 is dereferenced to q1 (canonical).

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      2.0,
16      0.0
17    ],
18    [
19      3.0,
20      0.0,
21      0.0
22    ],
23    [
24      0.0,
25      3.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      2,
37      3,
38      0
39    ],
40    [
41      0,
42      2,
43      4
44    ]
45  ],
46  "metadata": {
47    "id": "Me553",
48    "schema_version": 0,
49    "defect_class": "near_coincident_vertex",
50    "title": "checkAndRepair::rebuildConnectivity VERTEX_POINTER_INDIRECTION_V2: e->v2 for q3 (=q1 at (3,0,0)) has info!=self after unification; v2 dereferenced to canonical (Branch 4)",
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}