Calculates the intersection of two intersecting polygons