Computes the intersection point of the two closed segments a-b and c-d, writing it to out. Returns out when the segments intersect, or null when they do not (including parallel/collinear segments).
out
null
output parameter for the intersection point
first endpoint of the first segment
second endpoint of the first segment
first endpoint of the second segment
second endpoint of the second segment
out if the segments intersect, otherwise null
Computes the intersection point of the two closed segments a-b and c-d, writing it to
out. Returnsoutwhen the segments intersect, ornullwhen they do not (including parallel/collinear segments).