コード例 #1
0
 /// <summary>
 /// Генерирует наборы слоёв из переданных объектов
 /// сетки и геометрии
 /// </summary>
 /// <param name="grid">Объект Grid</param>
 /// <param name="geometry">Объект Geometry</param>
 private void GenerateLayersFromGridAndGeometry(Grid3D grid, Geometry3D geometry)
 {
     InsertGridLayersFromGrid(grid);
     InsertGridLayersFromGeometry(geometry);
 }
コード例 #2
0
 /// <summary>
 /// Генерирует списки слоёв из объекта Grid
 /// </summary>
 /// <param name="grid">Объект сетки Grid</param>
 private void InsertGridLayersFromGrid(Grid3D grid)
 {
     GridLayers3D.GridLayersX = StepTransition.GenerateGridLayerListFromStepTransitionList(grid.StepTransitionsX);
     GridLayers3D.GridLayersY = StepTransition.GenerateGridLayerListFromStepTransitionList(grid.StepTransitionsY);
     GridLayers3D.GridLayersZ = StepTransition.GenerateGridLayerListFromStepTransitionList(grid.StepTransitionsZ);
 }
コード例 #3
0
 public GridWithGeometryPreCalculated3D(Grid3D grid, Geometry3D geometry)
 {
     GenerateLayersFromGridAndGeometry(grid, geometry);
     CalculateGridLayers3DParamaters();
 }