public interface Localizable extends RealLocalizable
Localizable
interface can localize itself in an n-dimensional
discrete space. Not only Cursor
s can use this interface, it might be
used by much more classes as RandomAccess
s can take any
Localizable
as input for where they should move to.Modifier and Type | Method and Description |
---|---|
int |
getIntPosition(int d)
Return the current position in a given dimension.
|
long |
getLongPosition(int d)
Return the current position in a given dimension.
|
void |
localize(int[] position)
Write the current position into the passed array.
|
void |
localize(long[] position)
Write the current position into the passed array.
|
getDoublePosition, getFloatPosition, localize, localize
numDimensions
void localize(int[] position)
position
- receives current positionvoid localize(long[] position)
position
- receives current positionint getIntPosition(int d)
d
- dimensionlong getLongPosition(int d)
d
- dimensionCopyright © 2009–2018 ImgLib2. All rights reserved.