GeometrySingleton.getClosestPointToSegment

Returns the 3d point on the 3d segment (s1, s2) that is closest to point. The returned point will always be inside the specified segment.

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

Meta