Me112 — intersects_shared_vertex_proper: shared-apex triangles pointing in opposite directions — Branch 6 returns false

§12.14 mesh defects (sub-class: intersects-predicate / shared-vertex-proper)

topology

Sources

Description

two triangles that share exactly one vertex (v0 at the origin) and fan in opposite X directions — t0 fans into +X, t1 fans into −X. MeshFix Branch 6 checks whether the opposite edge of each triangle (the free edge not incident on the shared vertex) pierces the interior of the other triangle. Since the two free edges are spatially disjoint, neither pierces the opposing triangle and the predicate returns false.

Reproducer recipe

shared apex v0=(0,0,0). t0: (v0, (2,1,0), (2,−1,0)). t1: (v0, (−2,1,0), (−2,−1,0)).

Expected kernel behavior

recognize shared-vertex topology; check free-edge vs opposing-triangle intersection; return false since free edges are disjoint.

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      1.0,
11      0.0
12    ],
13    [
14      2.0,
15      -1.0,
16      0.0
17    ],
18    [
19      -2.0,
20      1.0,
21      0.0
22    ],
23    [
24      -2.0,
25      -1.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      1,
33      2
34    ],
35    [
36      0,
37      3,
38      4
39    ]
40  ],
41  "metadata": {
42    "id": "Me112",
43    "schema_version": 0,
44    "defect_class": "mesh_shared_vertex_no_intersection",
45    "title": "intersects_shared_vertex_proper: shared-apex triangles pointing in opposite directions do not intersect",
46    "assertions": [
47      {
48        "kind": "edge_shared_by_n_triangles",
49        "edge": [
50          0,
51          1
52        ],
53        "n": 1
54      },
55      {
56        "kind": "edge_shared_by_n_triangles",
57        "edge": [
58          0,
59          3
60        ],
61        "n": 1
62      },
63      {
64        "kind": "triangles_do_not_intersect",
65        "triangles": [
66          0,
67          1
68        ]
69      }
70    ]
71  }
72}