RobotStudio event

Intersection between 2 3D lines

Wondering if there are any neat functions in RAPID for finding the intersection between 2 3D lines (given 4 pos in 3D space that each pair form a line)? If the lines are not exactly in the same plane but are not parallel, a least squares approximation would suffice...
Thanks
Tagged: