mesh-examples/12-14-mesh/Me141.mesh.json
Sources
- MeshFix `Basic_TMesh.isInnerPoint` Branch 2 (*yz_bounding_box_reject*: `if (v1->y > p.y || ...) continue`) and Branch 3 (*z-axis bbox*: `if (v1->z > p.z || ...) continue`)
- `MESH_HEAL_COVERAGE.md`.
Description
A single open triangle in the XY-plane (y in [0,2], z=0). A query point at y=5 or z=5 lies outside the triangle's Y-Z bounding box; isInnerPoint skips the triangle without computing any intersection.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,2,0); t0=(v0,v1,v2).
Expected kernel behavior
for query p with p.y > 2 or p.z > 0, the Y-Z bbox test fires and the triangle is skipped.
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 "triangles": [ 20 [ 21 0, 22 1, 23 2 24 ] 25 ], 26 "metadata": { 27 "id": "Me141", 28 "schema_version": 0, 29 "defect_class": "isInnerPoint_yz_bbox_reject", 30 "title": "isInnerPoint_yz_bbox_reject: query point outside triangle Y-Z extent, skip branch fires", 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": "hole_boundary", 58 "loop": [ 59 0, 60 1, 61 2 62 ] 63 } 64 ] 65 } 66}