get_2d_line_intersection
get_2d_line_intersection(
p1 ,
p2 ,
p3 ,
p4 ,
)
Return intersection point of two lines (p1,p2) and (p3,p4).
Parameters
| Parameter | Description |
|---|---|
| p1, p2, p3, p4 | Each a pair of (x, y) coordinates. |
Returns
point (x, y) intersection point. x and y are nan if lines are parallel.