Figure 1: A segment intersecting a polygon (a), and just touching a polygon (b)