The distance from the point to the segment (#1838) - Basecamp