added getVisiblePolygon