public interface Positionable extends EuclideanSpace
Modifier and Type | Method and Description |
---|---|
void |
bck(int d)
Move by -1 in one dimension.
|
void |
fwd(int d)
Move by 1 in one dimension.
|
void |
move(int[] distance)
Move the element relative to its current location using an int[] as
distance vector.
|
void |
move(int distance,
int d)
Move the element in one dimension for some distance.
|
void |
move(Localizable distance)
Move the element relative to its current location using an
Localizable as distance vector. |
void |
move(long[] distance)
Move the element relative to its current location using a long[] as
distance vector.
|
void |
move(long distance,
int d)
Move the element in one dimension for some distance.
|
void |
setPosition(int[] position)
Set the position of the element.
|
void |
setPosition(int position,
int d)
Set the position of the element for one dimension.
|
void |
setPosition(Localizable position)
Place the element at the same location as a given
Localizable |
void |
setPosition(long[] position)
Set the position of the element.
|
void |
setPosition(long position,
int d)
Set the position of the element for one dimension.
|
numDimensions
void fwd(int d)
d
- dimensionvoid bck(int d)
d
- dimensionvoid move(int distance, int d)
distance
- relative offset in dimension dd
- dimensionvoid move(long distance, int d)
distance
- relative offset in dimension dd
- dimensionvoid move(Localizable distance)
Localizable
as distance vector.distance
- relative offset, EuclideanSpace.numDimensions()
must be
≥ EuclideanSpace.numDimensions()
void move(int[] distance)
distance
- relative offset, length must be ≥ EuclideanSpace.numDimensions()
void move(long[] distance)
distance
- relative offset, length must be ≥ EuclideanSpace.numDimensions()
void setPosition(Localizable position)
Localizable
position
- absolute position, EuclideanSpace.numDimensions()
must be
≥ EuclideanSpace.numDimensions()
void setPosition(int[] position)
position
- absolute position, length must be ≥
EuclideanSpace.numDimensions()
void setPosition(long[] position)
position
- absolute position, length must be ≥
EuclideanSpace.numDimensions()
void setPosition(int position, int d)
position
- absolute position in dimension dd
- dimensionvoid setPosition(long position, int d)
position
- absolute position in dimension dd
- dimensionCopyright © 2015–2022 ImgLib2. All rights reserved.