valueND = that.getMinimum(dimND); } else { value2D = this.getMaximum(dim2D); valueND = that.getMaximum(dimND);
index[i + dimension] = (int) Math.round(envelope.getMaximum(i) + offset);
index[i + dimension] = (int) Math.round(envelope.getMaximum(i) + offset);