The algorithm to find the point of intersection of two 3D line segment
Most 3D lines do not intersect. A reliable method is to find the shortest line between two 3D lines. If the shortest line has a length of zero (or distance less than whatever tolerance you specify) then you know that the two original lines intersect. A method for finding the shortest line between two 3D … Read more