Figure 2a:
Tracing around the obstacle.