Returns the distance between this line segment and a given point. For more, see StackOverflow
distance between this and the point
point for which the distance shall be calculated