All radians points 1 and 2 define an arc segment, this finds the distance of point 3 to the arc segment.
point_to_line_distance()