For the circle with the arc, we have the following paths:
Clockwise along the circle,
Counterclockwise along the circle,
Clockwise until arc, follow the arc over, take the shortest way to the destination
Counterclockwise until arc, follow the arc over, take the shortest way to the destination