public PolygonProjection rotate(Point2D point, double angle)
	{
		Point2D[] rotatedPoints = new Point2D[points.length];
		
		for(int i = 0; i < points.length; i ++)
		{
			double xCoord = points[i].getX() - point.getX();
			double yCoord = points[i].getY() - point.getY();
			double cos = Math.cos(angle);
			double sin = Math.sin(angle);
			rotatedPoints[i] = new Point2D(xCoord*cos - yCoord*sin + point.getX(), xCoord*sin + yCoord*cos + point.getY());
		}
		
		return new PolygonProjection(rotatedPoints, priority, incline, color);
	}