From 6b8148f7badc4985d274b1cc5a279fdfb3b8ba99 Mon Sep 17 00:00:00 2001 From: Anton Kudryashov <qubabox@mail.ru> Date: Mon, 21 Nov 2016 18:46:27 +0300 Subject: [PATCH] - removed affine Coefficients --- MES_Wind/frmMain.cs | 2 -- WindStressPRM/Utils/Matrix.cs | 4 ---- 2 files changed, 6 deletions(-) diff --git a/MES_Wind/frmMain.cs b/MES_Wind/frmMain.cs index 3061656..0188189 100644 --- a/MES_Wind/frmMain.cs +++ b/MES_Wind/frmMain.cs @@ -132,7 +132,6 @@ namespace MES_Wind WindStressPRM.Matrix<WindStressPRM.PrognosticCell> prognosticMatrix = new WindStressPRM.Matrix<WindStressPRM.PrognosticCell>(); prognosticMatrix.Cells = new WindStressPRM.PrognosticCell[ccountPrognostic, rcountPrognostic]; prognosticMatrix.Size = new WindStressPRM.CellSize(uRasterLayer.DataSet.CellWidth, uRasterLayer.DataSet.CellHeight); - prognosticMatrix.AffineCoefficients = uRasterLayer.Bounds.AffineCoefficients; // fill cells of prognostic matrix for (int i = 0; i < rcountPrognostic; i++) { @@ -161,7 +160,6 @@ namespace MES_Wind WindStressPRM.Matrix<WindStressPRM.ClimateCell> climateMatrix = new WindStressPRM.Matrix<WindStressPRM.ClimateCell>(); climateMatrix.Cells = new WindStressPRM.ClimateCell[columnCountClim, rowCountClim]; climateMatrix.Size = new WindStressPRM.CellSize(clim5RasterLayer.DataSet.CellWidth, clim5RasterLayer.DataSet.CellHeight); - climateMatrix.AffineCoefficients = clim5RasterLayer.Bounds.AffineCoefficients; // fill cells of climate matrix for (int i = 0; i < rowCountClim; i++) { diff --git a/WindStressPRM/Utils/Matrix.cs b/WindStressPRM/Utils/Matrix.cs index 343ab9f..12fd947 100644 --- a/WindStressPRM/Utils/Matrix.cs +++ b/WindStressPRM/Utils/Matrix.cs @@ -40,10 +40,6 @@ namespace WindStressPRM return new Index(iRow, iCol); } /// <summary> - /// AffineCoefficients for matrix from raster projection - /// </summary> - public double[] AffineCoefficients { get; set; } - /// <summary> /// Size of cell. In meters /// </summary> public CellSize Size { get; set; } -- GitLab