Figure 1: All possible matches between two curves