public interface Localizable extends Iterable
Localizable interface add functionality to return
the current position. Not only Cursors can use this
interface, it might be used by much more classes as LocalizableByDimCursors
can take any Localizable as input for where they should move to.| Modifier and Type | Method and Description |
|---|---|
int[] |
getPosition()
Return a copy of the current position.
|
int |
getPosition(int dim)
Return the current position in a given dimension.
|
void |
getPosition(int[] position)
Write the current position into the passed array.
|
String |
getPositionAsString()
Create a human-readable
String representation of the current
position. |
void getPosition(int[] position)
position - int[] getPosition()
int getPosition(int dim)
dim - Copyright © 2015–2021 Fiji. All rights reserved.