I have two convex polygons. Polygons are implemented as cyclic lists of their vertices. How to find an intersection of these two polygons?