public class Extents extends AbstractInterval
Position indexes for iterating within the
Extents.max, minn| Constructor and Description |
|---|
Extents(long[] dims)
Constructor that takes a dimensional extent and sets min to a zero origin
and each max dim i to dims[i]-1.
|
Extents(long[] min,
long[] max)
Constructor that takes min and max extents.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
createPosition()
Returns a
Position object that can be used to iterate these
Extents. |
long |
numElements()
Returns the total number of elements spanned by the parent
Extents. |
String |
toString() |
dimension, dimensions, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMinnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnumDimensionspublic Extents(long[] dims)
public Extents(long[] min,
long[] max)
min <= max for all dim i.Copyright © 2009–2018 ImageJ. All rights reserved.