mesh-examples/12-14-mesh/Me116.mesh.json
Sources
- MeshFix `Triangle.intersects` Branch 13 (*ORIENTATION_T1_ABOVE_OR_BELOW*: `if ((o11>0 && o12>0 && o13>0) || (o11<0 && o12<0 && o13<0)) return false`)
- `MESH_HEAL_COVERAGE.md`.
Description
t0 lies in z=0 and t1 is a triangle whose all three vertices have z > 0 — all strictly above t0's plane. The orientation tests o11, o12, o13 are all positive, triggering Branch 13 to return false before any intersection-line or segment tests. Bounding boxes pass (X and Y ranges overlap) so the BBOX tests don't catch it — only the plane-orientation check does.
Reproducer recipe
t0: (0,0,0),(2,0,0),(1,2,0) in z=0. t1: (0,1,2),(2,1,2),(1,3,4) — all z≥2.
Expected kernel behavior
orientation-all-same-side fast-reject returns false; no intersection.
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 0.0, 20 1.0, 21 2.0 22 ], 23 [ 24 2.0, 25 1.0, 26 2.0 27 ], 28 [ 29 1.0, 30 3.0, 31 4.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": "Me116", 48 "schema_version": 0, 49 "defect_class": "mesh_plane_separated_triangles", 50 "title": "intersects_orientation_t1_above_plane: t1 all vertices above t0 plane \u2014 orientation fast-reject", 51 "assertions": [ 52 { 53 "kind": "triangles_do_not_intersect", 54 "triangles": [ 55 0, 56 1 57 ] 58 } 59 ] 60 } 61}