findClosestPointToOtherPointOnLine

Return

Supposing the equation of the line is p1 + t*d1, returns the t representing the closest point

Parameters

p

The point

p1

The starting point of the line

d1

The direction of the line

See also