public Grid4D(Grid4D <T> other, Location4D dimensions, Location4D offset) : this(dimensions, default, false) { for (int x = 0; x < other.Width; x++) { for (int y = 0; y < other.Height; y++) { for (int z = 0; z < other.Depth; z++) { for (int w = 0; w < other.DepthW; w++) { this[offset + (x, y, z, w)] = other.Values[x, y, z, w];
public Grid4D(Grid4D <T> other) : this(other, other.Dimensions, Location4D.Zero) { }