Triangle hit test
The equations of simgeometry.kernels.triangle_hits, declared on the code that implements them and checked by the tests.
triangle_fractions
functionsourceFractions t and barycentric u, v where segments meet triangles.
- fraction
- hit
- Assumes
- triangle with , ; segment , the fraction of the step
- edges and vertices belong to the triangle; a segment in the triangle's plane () never meets it
- the same arithmetic as the Pyccel kernels
mesh_first_hitsandmesh_inside
- References