Pastable version of Line-line intersection test