Distance from point (x,y) to line segment (x1,y1):(x2,y2) Signed, negative if point is left of line (x coordinate of point is less then nearest point on lineseg)