mesh-examples/12-14-mesh/Me395.mesh.json
Sources
- CGAL PMP `do_faces_intersect` Branch 6 (*full-geometric-triangle-si*: `do_intersect(th, tg)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two triangles with completely disjoint vertex sets that cross geometrically. t0 lies in the XY plane: (v0=(0,0,0), v1=(3,0,0), v2=(0,3,0)). t1 is near-vertical with vertices (v3=(1,1,-2), v4=(1,1,2), v5=(5,5,0)) — the edge (v3,v4) pierces t0's interior at (1,1,0). No shared vertices or edges. Branch 6 executes the full `do_intersect(th, tg)` geometric test and returns true.
Reproducer recipe
v0=(0,0,0), v1=(3,0,0), v2=(0,3,0); v3=(1,1,-2), v4=(1,1,2), v5=(5,5,0); t0=(v0,v1,v2), t1=(v3,v4,v5); assert_vertex_pair_no_shared_triangle(v0,v3); assert_vertex_pair_no_shared_triangle(v1,v4); assert_triangles_self_intersect(0,1).
Expected kernel behavior
Branch 6 fires; pure geometric test do_intersect(th,tg) returns true → SI reported.
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 0.0, 15 3.0, 16 0.0 17 ], 18 [ 19 1.0, 20 1.0, 21 -2.0 22 ], 23 [ 24 1.0, 25 1.0, 26 2.0 27 ], 28 [ 29 5.0, 30 5.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": "Me395", 48 "schema_version": 0, 49 "defect_class": "self_intersection_face_pair", 50 "title": "do_faces_intersect full-geometric-SI: no shared vertex or edge, triangles cross geometrically (Branch 6)", 51 "assertions": [ 52 { 53 "kind": "vertex_pair_no_shared_triangle", 54 "pair": [ 55 0, 56 3 57 ] 58 }, 59 { 60 "kind": "vertex_pair_no_shared_triangle", 61 "pair": [ 62 1, 63 4 64 ] 65 }, 66 { 67 "kind": "triangles_self_intersect", 68 "triangles": [ 69 0, 70 1 71 ] 72 } 73 ] 74 } 75}