Me672 — mergeCoincidentEdges VERTEX_DUPLICATION_AT_V2: boundary edge v2 has non-self info pointer (p1 coincident with q1); redirect to canonical representative (Branch 3)

§12.14 mesh defects (sub-class: coincident-boundary-vertex / v2-redirect)

topology

Sources

Description

Analogous to Me671 but the coincident vertex appears as v2 (the destination endpoint) of the scanned boundary edge. Vertex pair p1 and q1 both at (1,0,0); q1->info=p1 after canonicalization. When a boundary edge with v2=q1 is scanned, q1->info != q1 fires Branch 3. Euler: V=6, E=6, F=2, chi=2.

Reproducer recipe

p0=(0,0,0), p1=(1,0,0), p2=(0.5,1,0), q0=(2,0,0), q1=(1,0,0), q2=(1.5,1,0); t0=(p0,p1,p2), t1=(q0,q1,q2); all edges n=1; vertex_pair_distance_lt(p1,q1,1e-9); vertex_pair_no_shared_triangle(p1,q1); euler V=6,E=6,F=2,chi=2.

Expected kernel behavior

Branch 3 fires when the boundary edge with v2=q1 is scanned; q1->info=p1 != q1 so e->v2 is updated to p1 (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      1.0,
10      0.0,
11      0.0
12    ],
13    [
14      0.5,
15      1.0,
16      0.0
17    ],
18    [
19      2.0,
20      0.0,
21      0.0
22    ],
23    [
24      1.0,
25      0.0,
26      0.0
27    ],
28    [
29      1.5,
30      1.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      3,
42      4,
43      5
44    ]
45  ],
46  "metadata": {
47    "id": "Me672",
48    "schema_version": 0,
49    "defect_class": "near_coincident_vertex",
50    "title": "mergeCoincidentEdges VERTEX_DUPLICATION_AT_V2: boundary edge v2 has non-self info pointer (p1 coincident with q1); redirect to canonical representative (Branch 3)",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          0,
56          1
57        ],
58        "n": 1
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          1,
64          2
65        ],
66        "n": 1
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          0,
72          2
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          3,
80          4
81        ],
82        "n": 1
83      },
84      {
85        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          4,
88          5
89        ],
90        "n": 1
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          3,
96          5
97        ],
98        "n": 1
99      },
100      {
101        "kind": "vertex_pair_distance_lt",
102        "pair": [
103          1,
104          4
105        ],
106        "lt": 1e-09
107      },
108      {
109        "kind": "vertex_pair_no_shared_triangle",
110        "pair": [
111          1,
112          4
113        ]
114      },
115      {
116        "kind": "euler_characteristic",
117        "v": 6,
118        "e": 6,
119        "f": 2,
120        "chi": 2
121      }
122    ]
123  }
124}