GeometrySingleton.getClosestPointToSegmentUncapped

Returns the 3d point on the 3d line defined by (s1, s2) that is closest to point. The returned point can be inside the segment (s1, s2) or outside of it, i.e. somewhere on the line extending from the segment.

struct GeometrySingleton
@nogc nothrow
Vector3
getClosestPointToSegmentUncapped
(
in Vector3 point
,
in Vector3 s1
,
in Vector3 s2
)

Meta