Example #1
0
        private MatrixMapCell ResizeMatrix(MatrixMapCell pmtx_CellsToResize, int pint_QtdColumns, int pint_QtdRows)
        {
            MatrixMapCell oldMatrix = pmtx_CellsToResize;

            pmtx_CellsToResize = new MatrixMapCell(pint_QtdColumns, pint_QtdRows);
            if (oldMatrix != null)
            {
                oldMatrix.CopyTo(pmtx_CellsToResize);
            }
            return(pmtx_CellsToResize);
        }