@Override public void max(final Positionable max) { for (int d = 0; d < max.numDimensions(); d++) { max.setPosition(position[d] + radius, d); } }
@Override public void min(Positionable min) { for (int i = 0; i < dims.length; ++i) { min.setPosition(0, i); } }
@Override public void min(final Positionable min) { for (int d = 0; d < min.numDimensions(); d++) { min.setPosition(position[d] - radius, d); } }
@Override public void max(Positionable max) { for (int i = 0; i < dims.length; ++i) { max.setPosition(dims[i] - 1, i); } }