/// <summary> /// Copies this three-dimensional array to another /// </summary> public void CopyTo(IArray2 <T> array, int offsetX, int offsetY) { var otherItems = array.GetItems(); for (int y = 0; y < sizeY; y++) { Array.Copy(items[y], 0, otherItems[y + offsetY], offsetX, sizeX); } }
/// <summary> /// Copies this three-dimensional array to another /// </summary> public void CopyTo(IArray2 <T> array) { var otherItems = array.GetItems(); for (int y = 0; y < sizeY; y++) { Array.Copy(items[y], 0, otherItems[y], 0, sizeX); } }