Intersection between 3D lines

Is there any way to compute the intersection of two 3D lines? There is implimentation of curve curve intersection in OCC but only for 2D. What is happen with 3D lines?

MCV's picture


most recently I encountered the same problem.

Here is the solution: Think in extremal distances (minimum and maximum distance of 2 points on 2 different Curves):


Check out:

It is the same for OCC 5.0 and 5.01

Have fun and good luck.