public class RealIntervalIterator extends AbstractRealInterval implements Iterator, RealLocalizable
RealInterval in flat order, that is:
row by row, plane by plane, cube by cube, ... at a particular spacing.| Modifier and Type | Field and Description |
|---|---|
protected double[] |
location |
protected double[] |
step |
max, minn| Constructor and Description |
|---|
RealIntervalIterator(double[] min,
double[] max,
double[] steps)
Iterates an
Interval with given min and max. |
RealIntervalIterator(RealInterval interval,
double[] step)
Iterates an
Interval of the given dimensions with min=
0n |
| Modifier and Type | Method and Description |
|---|---|
void |
fwd() |
double |
getDoublePosition(int d) |
float |
getFloatPosition(int d) |
boolean |
hasNext() |
void |
jumpFwd(long steps) |
void |
localize(double[] position) |
void |
localize(float[] position) |
void |
reset() |
String |
toString() |
realMax, realMax, realMax, realMin, realMin, realMinnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlocalize, positionAsDoubleArray, positionAsRealPointnumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointpublic RealIntervalIterator(RealInterval interval, double[] step)
Interval of the given dimensions with min=
0ninterval - step - public RealIntervalIterator(double[] min,
double[] max,
double[] steps)
Interval with given min and max.min - max - public String toString()
toString in class AbstractRealIntervalpublic void localize(float[] position)
localize in interface RealLocalizablepublic void localize(double[] position)
localize in interface RealLocalizablepublic float getFloatPosition(int d)
getFloatPosition in interface RealLocalizablepublic double getDoublePosition(int d)
getDoublePosition in interface RealLocalizableCopyright © 2015–2021 Fiji. All rights reserved.