distanceLineLine
-
distanceLineLine() Returns the distance between two line segments.
Parameters
line1Begin:
Point3The start of the first line segment.line1End:
Point3The end of the first line segment.line2Begin:
Point3The start of the second line segment.line2End:
Point3The end of the second line segment.out_closestPointLine1:
Point3Out parameter for the closest point of line1 to line2.out_closestPointLine2:
Point3Out parameter for the closest point of line2 to line1.Returns: number
The distance between the two input line segments.