Esempio n. 1
0
 public void AddDefaults()
 {
     for (int i = 0; i < 2; ++i)
     {
         V2DataOnGrid v2_data_on_grid = new V2DataOnGrid(0.0, "Default info", new double[] { 0.01, 0.01 }, new int[] { 3, 3 });
         v2_data_on_grid.InitRandom(-10.0f, 10.0f);
         ListData.Add(v2_data_on_grid);
         V2DataCollection v2_data_collection = new V2DataCollection(0.0, "Default info");
         v2_data_collection.InitRandom(3, 10.0f, 10.0f, -10.0f, 10.0f);
         ListData.Add(v2_data_collection);
     }
 }
Esempio n. 2
0
 public void AddDefaults()
 {
     for (int i = 0; i < 2; ++i)
     {
         V2DataOnGrid v2_data_on_grid = new V2DataOnGrid(0.0, "Default info", new double[] { 0.01, 0.01 }, new int[] { 3, 3 });
         v2_data_on_grid.InitRandom(-10.0f, 10.0f);
         ListData.Add(v2_data_on_grid);
         ListData[ListData.Count - 1].PropertyChanged += PropertyChangedEventHandler;
         V2DataCollection v2_data_collection = new V2DataCollection(0.0, "Default info");
         v2_data_collection.InitRandom(3, 10.0f, 10.0f, -10.0f, 10.0f);
         ListData.Add(v2_data_collection);
         ListData[ListData.Count - 1].PropertyChanged += PropertyChangedEventHandler;
     }
 }