Me190 — splitTriangle_new_triangle_from_e3_e1: first child triangle nt1 connects nv to v2-v0 side

§12.14 mesh defects (sub-class: split-triangle / new-triangle-nt1)

topology

Sources

Description

A new vertex nv is inserted inside triangle t(v0,v1,v2), splitting it into 3 children. nt1 is created from the e3/e1 corner connecting nv to v2 and v0. All three inner edges through nv are interior (n=2); all three outer edges are boundary (n=1).

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(1,2,0), nv=(1,0.7,0); t=(v0,v1,nv), nt1=(nv,v2,v0), nt2=(nv,v1,v2).

Expected kernel behavior

nt1 allocated at line 1919; e3 outer edge re-wired to nt1; all inner edges interior.

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      0.0,
11      0.0
12    ],
13    [
14      1.0,
15      2.0,
16      0.0
17    ],
18    [
19      1.0,
20      0.7,
21      0.0
22    ]
23  ],
24  "triangles": [
25    [
26      0,
27      1,
28      3
29    ],
30    [
31      3,
32      2,
33      0
34    ],
35    [
36      3,
37      1,
38      2
39    ]
40  ],
41  "metadata": {
42    "id": "Me190",
43    "schema_version": 0,
44    "defect_class": "split_triangle_interior_vertex",
45    "title": "splitTriangle_new_triangle_from_e3_e1: first child triangle nt1 connects nv to v2-v0 side",
46    "assertions": [
47      {
48        "kind": "edge_shared_by_n_triangles",
49        "edge": [
50          0,
51          3
52        ],
53        "n": 2
54      },
55      {
56        "kind": "edge_shared_by_n_triangles",
57        "edge": [
58          1,
59          3
60        ],
61        "n": 2
62      },
63      {
64        "kind": "edge_shared_by_n_triangles",
65        "edge": [
66          2,
67          3
68        ],
69        "n": 2
70      },
71      {
72        "kind": "edge_shared_by_n_triangles",
73        "edge": [
74          0,
75          1
76        ],
77        "n": 1
78      },
79      {
80        "kind": "edge_shared_by_n_triangles",
81        "edge": [
82          0,
83          2
84        ],
85        "n": 1
86      },
87      {
88        "kind": "edge_shared_by_n_triangles",
89        "edge": [
90          1,
91          2
92        ],
93        "n": 1
94      }
95    ]
96  }
97}