Computes the distance between two 3D segments.
-
Parameters:
-
A - A the start point of the first segment
-
B - B the end point of the first segment
-
C - C the start point of the second segment
-
D - D the end point of the second segment
-
Returns:
-
the distance between the segments