distance between a point and a line (orthogonal) (2D)

dist_point_to_line(coord1, coord2, coord3)

Arguments

coord1

start line coordinate

coord2

end line coordinate

coord3

point coordinate

Value

distance