two_line_segment_intersection_parameters#
- regridding.geometry.two_line_segment_intersection_parameters(p1, p2, q1, q2)[source]#
Computes the parameters (\(t\) and \(u\)) associated with the intersection of two 2D line segments, \(p\) and \(q\).
This function uses the method described in the Line-line intersection Wikipedia article.
- Parameters:
- Return type:
See also
two_line_segments_intersect(): Check if the two line segments intersect.two_line_segment_intersection(): Compute the point of intersection.References