mesh-examples/12-14-mesh/Me146.mesh.json
Sources
- MeshFix `Basic_TMesh.isInnerPoint` Branch 9 (*point_on_edge*: `if (o1 == 0 || o2 == 0 || o3 == 0) { select edge
- lineLineIntersection(...) }`)
- `MESH_HEAL_COVERAGE.md`.
Description
T-junction where vertex v3=(0.5,0,0) lies exactly on the interior of edge (v0,v2) of triangle t0. A query at v3's coordinates gives exactly one orientation value of zero for triangle t0's projected edges. isInnerPoint selects that edge and calls lineLineIntersection to find the boundary crossing X-coordinate.
Reproducer recipe
v0=(0,0,0), v1=(0.5,1,0), v2=(1,0,0), v3=(0.5,0,0), v4=(0.5,-1,0); t0=(v0,v1,v2), t1=(v0,v4,v3), t2=(v3,v4,v2).
Expected kernel behavior
query at (0.5,0,0) gives o_edge=0 for the edge containing v3; Branch 9 fires.
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 0.5, 10 1.0, 11 0.0 12 ], 13 [ 14 1.0, 15 0.0, 16 0.0 17 ], 18 [ 19 0.5, 20 0.0, 21 0.0 22 ], 23 [ 24 0.5, 25 -1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 4, 38 3 39 ], 40 [ 41 3, 42 4, 43 2 44 ] 45 ], 46 "metadata": { 47 "id": "Me146", 48 "schema_version": 0, 49 "defect_class": "isInnerPoint_point_on_edge", 50 "title": "isInnerPoint_point_on_edge: query at midpoint of edge gives one orientation=0, edge-intersection branch fires", 51 "assertions": [ 52 { 53 "kind": "vertex_on_edge", 54 "vertex": 3, 55 "edge": [ 56 0, 57 2 58 ] 59 } 60 ] 61 } 62}