public abstract class AbstractRealMaskPoint extends RealPoint implements RealLocalizableRealPositionable
position
n
Constructor and Description |
---|
AbstractRealMaskPoint(double[] pos) |
AbstractRealMaskPoint(int n) |
AbstractRealMaskPoint(RealLocalizable pos) |
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(double[] distance)
Move the element relative to its current location using a float[] as
distance vector.
|
void |
move(double distance,
int d)
Move the element in one dimension for some distance.
|
void |
move(float[] distance)
Move the element relative to its current location using a float[] as
distance vector.
|
void |
move(float distance,
int d)
Move the element in one dimension for some distance.
|
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 localizable)
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 |
move(RealLocalizable distance)
Move the element relative to its current location using a
RealLocalizable as distance vector. |
void |
setPosition(double[] position)
Set the position of the element.
|
void |
setPosition(double position,
int d)
Set the position of the element for one dimension.
|
void |
setPosition(float[] position)
Set the position of the element.
|
void |
setPosition(float position,
int d)
Set the position of the element for one dimension.
|
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 localizable)
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.
|
void |
setPosition(RealLocalizable position)
Place the element at the same location as a given
RealLocalizable |
abstract void |
updateBounds() |
getDoublePosition, getFloatPosition, localize, localize
numDimensions
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
public AbstractRealMaskPoint(int n)
public AbstractRealMaskPoint(double[] pos)
public AbstractRealMaskPoint(RealLocalizable pos)
public abstract void updateBounds()
public void move(float distance, int d)
RealPositionable
move
in interface RealPositionable
move
in class RealPoint
public void move(double distance, int d)
RealPositionable
move
in interface RealPositionable
move
in class RealPoint
public void move(RealLocalizable distance)
RealPositionable
RealLocalizable
as distance vector.move
in interface RealPositionable
move
in class RealPoint
distance
- relative offset, EuclideanSpace.numDimensions()
must
be ≥ EuclideanSpace.numDimensions()
public void move(float[] distance)
RealPositionable
move
in interface RealPositionable
move
in class RealPoint
public void move(double[] distance)
RealPositionable
move
in interface RealPositionable
move
in class RealPoint
public void setPosition(RealLocalizable position)
RealPositionable
RealLocalizable
setPosition
in interface RealPositionable
setPosition
in class RealPoint
position
- absolute position, EuclideanSpace.numDimensions()
must be ≥ EuclideanSpace.numDimensions()
public void setPosition(float[] position)
RealPositionable
setPosition
in interface RealPositionable
setPosition
in class RealPoint
position
- absolute position, length must be ≥
EuclideanSpace.numDimensions()
public void setPosition(double[] position)
RealPositionable
setPosition
in interface RealPositionable
setPosition
in class RealPoint
position
- absolute position, length must be ≥
EuclideanSpace.numDimensions()
public void setPosition(float position, int d)
RealPositionable
setPosition
in interface RealPositionable
setPosition
in class RealPoint
public void setPosition(double position, int d)
RealPositionable
setPosition
in interface RealPositionable
setPosition
in class RealPoint
public void fwd(int d)
Positionable
fwd
in interface Positionable
fwd
in class RealPoint
d
- dimensionpublic void bck(int d)
Positionable
bck
in interface Positionable
bck
in class RealPoint
d
- dimensionpublic void move(int distance, int d)
Positionable
move
in interface Positionable
move
in class RealPoint
distance
- relative offset in dimension dd
- dimensionpublic void move(long distance, int d)
Positionable
move
in interface Positionable
move
in class RealPoint
distance
- relative offset in dimension dd
- dimensionpublic void move(Localizable localizable)
Positionable
Localizable
as distance vector.move
in interface Positionable
move
in class RealPoint
localizable
- relative offset, EuclideanSpace.numDimensions()
must be
≥ EuclideanSpace.numDimensions()
public void move(int[] distance)
Positionable
move
in interface Positionable
move
in class RealPoint
distance
- relative offset, length must be ≥ EuclideanSpace.numDimensions()
public void move(long[] distance)
Positionable
move
in interface Positionable
move
in class RealPoint
distance
- relative offset, length must be ≥ EuclideanSpace.numDimensions()
public void setPosition(Localizable localizable)
Positionable
Localizable
setPosition
in interface Positionable
setPosition
in class RealPoint
localizable
- absolute position, EuclideanSpace.numDimensions()
must be
≥ EuclideanSpace.numDimensions()
public void setPosition(int[] position)
Positionable
setPosition
in interface Positionable
setPosition
in class RealPoint
position
- absolute position, length must be ≥
EuclideanSpace.numDimensions()
public void setPosition(long[] position)
Positionable
setPosition
in interface Positionable
setPosition
in class RealPoint
position
- absolute position, length must be ≥
EuclideanSpace.numDimensions()
public void setPosition(int position, int d)
Positionable
setPosition
in interface Positionable
setPosition
in class RealPoint
position
- absolute position in dimension dd
- dimensionpublic void setPosition(long position, int d)
Positionable
setPosition
in interface Positionable
setPosition
in class RealPoint
position
- absolute position in dimension dd
- dimensionCopyright © 2015–2022 ImgLib2. All rights reserved.