Returns a list of edges, which should be ordered clockwise.
Each edge is defined by a pair of integers, the first is the index into shapeA and the second is the index into shapeB.