public class GridCoordinates extends Object implements Iterable<GridCoordinates.Block>
Each step yields GridCoordinates.Block
that contains offset and dimensions of the current block.
Yielded block dimensions could be smaller than default block dimensions if the current block
is the last one across some dimension.
Offset and dimensions are reused between iterations, therefore they should not be mutated.
Modifier and Type | Class and Description |
---|---|
static class |
GridCoordinates.Block
Container for block offset and block dimensions.
|
Constructor and Description |
---|
GridCoordinates(net.imglib2.img.cell.CellGrid grid) |
Modifier and Type | Method and Description |
---|---|
Iterator<GridCoordinates.Block> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Iterator<GridCoordinates.Block> iterator()
iterator
in interface Iterable<GridCoordinates.Block>
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.