Me671 — mergeCoincidentEdges VERTEX_DUPLICATION_AT_V1: boundary edge v1 has non-self info pointer (a1 coincident with b0); redirect to canonical representative (Branch 2)

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

topology

Sources

Description

Two triangle patches with exactly coincident boundary vertices a1 and b0 both at (1,0,0). After coincident-vertex detection a1->info is redirected to b0 (canonical). When the boundary edge from a0 to a1 is scanned, e->v1==a1 but a1->info==b0 != a1, firing Branch 2. v1 is replaced by b0. All six edges are boundary edges (n=1). Euler: V=6, E=6, F=2, chi=2.

Reproducer recipe

a0=(0,0,0), a1=(1,0,0), a2=(0.5,1,0), b0=(1,0,0), b1=(2,0,0), b2=(1.5,1,0); t0=(a0,a1,a2), t1=(b0,b1,b2); all edges n=1; vertex_pair_distance_lt(a1,b0,1e-9); vertex_pair_no_shared_triangle(a1,b0); euler V=6,E=6,F=2,chi=2.

Expected kernel behavior

Branch 2 fires when the boundary edge with v1=a1 is scanned; a1->info=b0 != a1 so e->v1 is updated to b0 (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      1.0,
20      0.0,
21      0.0
22    ],
23    [
24      2.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": "Me671",
48    "schema_version": 0,
49    "defect_class": "near_coincident_vertex",
50    "title": "mergeCoincidentEdges VERTEX_DUPLICATION_AT_V1: boundary edge v1 has non-self info pointer (a1 coincident with b0); redirect to canonical representative (Branch 2)",
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          3
105        ],
106        "lt": 1e-09
107      },
108      {
109        "kind": "vertex_pair_no_shared_triangle",
110        "pair": [
111          1,
112          3
113        ]
114      },
115      {
116        "kind": "euler_characteristic",
117        "v": 6,
118        "e": 6,
119        "f": 2,
120        "chi": 2
121      }
122    ]
123  }
124}