Me353 — CreateTriangle_triangle_creation: tt=newTriangle(e1,e2,e3) allocates triangle object

§12.14 mesh defects (sub-class: Basic_TMesh.CreateTriangle / triangle-creation)

topology

Sources

Description

Single newly created triangle t0=(v0,v1,v2) with all three boundary edges (n=1). This is the minimum output of newTriangle(e1,e2,e3): the object exists, its three bounding edges are set, and no neighbours exist yet. The triangle is non-degenerate (area=3.0).

Reproducer recipe

v0=(0,0,0), v1=(3,0,0), v2=(1.5,2,0); t0=(v0,v1,v2). All edges n=1; triangle_area_lt(t0, 10.0).

Expected kernel behavior

Branch 4 fires; tt object instantiated from e1,e2,e3; all three edges store tt in their t-slot.

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      3.0,
10      0.0,
11      0.0
12    ],
13    [
14      1.5,
15      2.0,
16      0.0
17    ]
18  ],
19  "triangles": [
20    [
21      0,
22      1,
23      2
24    ]
25  ],
26  "metadata": {
27    "id": "Me353",
28    "schema_version": 0,
29    "defect_class": "create_triangle_new_object",
30    "title": "CreateTriangle_triangle_creation: tt=newTriangle(e1,e2,e3) allocates triangle object (Branch 4)",
31    "assertions": [
32      {
33        "kind": "edge_shared_by_n_triangles",
34        "edge": [
35          0,
36          1
37        ],
38        "n": 1
39      },
40      {
41        "kind": "edge_shared_by_n_triangles",
42        "edge": [
43          1,
44          2
45        ],
46        "n": 1
47      },
48      {
49        "kind": "edge_shared_by_n_triangles",
50        "edge": [
51          0,
52          2
53        ],
54        "n": 1
55      },
56      {
57        "kind": "triangle_area_lt",
58        "triangle": 0,
59        "lt": 10.0
60      }
61    ]
62  }
63}