Identify the point closest to C on segment AB
The reference point C
Point A on segment AB
Point B on segment AB
The closest point to C on segment AB
https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line#Line_defined_by_two_points
Identify the point closest to C on segment AB