add intersection test for containsPolygon