Returns the closest point on a 2D line. the Z index is taken from the point.
line segment start
line segment end
point to project
Returns the closest point on a 2D line. the Z index is taken from the point.