Me162 — stitch_boundary_walk_v1: boundary chain walk from v1 traverses to find coincident candidate

§12.14 mesh defects (sub-class: boundary stitching / boundary walk v1)

spec-violation

Sources

Description

Three-triangle strip. Patch A has two connected triangles sharing interior (v1,v2). Patch B has one triangle with boundary (v4,v5) coincident to (v1,v2). The v1-side walk traverses the boundary chain to find the candidate on Patch B.

Reproducer recipe

v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0), v3=(1.5,1,0); t0=(v0,v1,v2), t1=(v1,v3,v2). Patch B: v4=(1,0,0), v5=(0.5,1,0), v6=(2,0.5,0); t2=(v4,v5,v6).

Expected kernel behavior

walk from v1 finds e1=(v4,v5) whose opposite vertex matches; candidate confirmed.

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.5,
20      1.0,
21      0.0
22    ],
23    [
24      1.0,
25      0.0,
26      0.0
27    ],
28    [
29      0.5,
30      1.0,
31      0.0
32    ],
33    [
34      2.0,
35      0.5,
36      0.0
37    ]
38  ],
39  "triangles": [
40    [
41      0,
42      1,
43      2
44    ],
45    [
46      1,
47      3,
48      2
49    ],
50    [
51      4,
52      5,
53      6
54    ]
55  ],
56  "metadata": {
57    "id": "Me162",
58    "schema_version": 0,
59    "defect_class": "stitch_boundary_walk_v1",
60    "title": "stitch_boundary_walk_v1: boundary chain walk from v1 endpoint traverses to find coincident candidate",
61    "assertions": [
62      {
63        "kind": "edge_shared_by_n_triangles",
64        "edge": [
65          1,
66          2
67        ],
68        "n": 2
69      },
70      {
71        "kind": "edge_shared_by_n_triangles",
72        "edge": [
73          4,
74          5
75        ],
76        "n": 1
77      },
78      {
79        "kind": "vertex_pair_distance_lt",
80        "pair": [
81          1,
82          4
83        ],
84        "lt": 1e-09
85      },
86      {
87        "kind": "vertex_pair_distance_lt",
88        "pair": [
89          2,
90          5
91        ],
92        "lt": 1e-09
93      },
94      {
95        "kind": "edge_shared_by_n_triangles",
96        "edge": [
97          0,
98          1
99        ],
100        "n": 1
101      },
102      {
103        "kind": "edge_shared_by_n_triangles",
104        "edge": [
105          0,
106          2
107        ],
108        "n": 1
109      },
110      {
111        "kind": "edge_shared_by_n_triangles",
112        "edge": [
113          1,
114          3
115        ],
116        "n": 1
117      },
118      {
119        "kind": "edge_shared_by_n_triangles",
120        "edge": [
121          2,
122          3
123        ],
124        "n": 1
125      }
126    ]
127  }
128}