lineSegment3dClosestApproachUnbounded MethodStatic

Return true if lines (a0,a1) to (b0, b1) have closest approach (go by each other) in 3d

lineSegment3dClosestApproachUnbounded(a0: Point3d, a1: Point3d, b0: Point3d, b1: Point3d, result: Vector2d): boolean

Parameter Type Description
a0 Point3d start point of line A
a1 Point3d end point of line A
b0 Point3d start point of line B
b1 Point3d end point of line B
result Vector2d vector to receive fractional coordinates of closest approach: result.x is fraction on line A, result.y is fraction on line B.

Returns - boolean

Defined in

Last Updated: 07 June, 2025