warp.intersect_tri_tri#
- warp.intersect_tri_tri( ) int#
Kernel
Tests for intersection between two triangles (v0, v1, v2) and (u0, u1, u2) using Moller’s method.
This function works with single precision, may return incorrect results in some case.
Returns > 0 if triangles intersect.
- warp.intersect_tri_tri( ) int
Kernel
Tests for intersection between two triangles (v0, v1, v2) and (u0, u1, u2) using Moller’s method.
This function works with double precision, results are more accurate than the single precision version.
Returns > 0 if triangles intersect.