Source position: nxMath3D.pas line 21
function ClosestPointOnLine(
const l1: TVector;
const l2: TVector;
const p: TVector
):TVector;