GeometrySingleton.getClosestPointsBetweenSegments

Given the two 3d segments (p1, p2) and (q1, q2), finds those two points on the two segments that are closest to each other. Returns a PoolVector3Array that contains this point on (p1, p2) as well the accompanying point on (q1, q2).

struct GeometrySingleton
@nogc nothrow
PoolVector3Array
getClosestPointsBetweenSegments
(
in Vector3 p1
,
in Vector3 p2
,
in Vector3 q1
,
in Vector3 q2
)

Meta