orthogonal projection of a point onto a line (2D)

proj_point_on_line(coord1, coord2, coord3)

Arguments

coord1

start coordinate of a line

coord2

end coordinate fo a line

coord3

coordinates of a point

Value

coordinates x,y