add containsPolygon for detecting holes