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