private void CreatorSlice(List <Vector2f> slice) { Polygon newPolygon = Slicer2D.CreatorSlice(slice); if (newPolygon != null) { CreatePolygon(newPolygon); } }