line_triangle_intersection_parameters#

regridding.geometry.line_triangle_intersection_parameters(line, triangle)[source]#

Compute the parameters \(t,u,v\) describing the point of intersection between a line and triangle in 3D.

Parameters:
Return type:

tuple[float, float, float]

See also

line_intersects_triangle()

A function which can use these parameters to check if there is an intersection.

line_triangle_intersection()

A function which can use these parameters to compute the coordinates of the intersection.