public class Extents extends AbstractInterval
Position
indexes for iterating within the
Extents.max, min
n
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, realMin
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
numDimensions
public Extents(long[] dims)
public Extents(long[] min, long[] max)
min <= max
for all dim i.public Position createPosition()
Position
object that can be used to iterate these
Extents.public long numElements()
Extents
.public String toString()
toString
in class AbstractInterval
Copyright © 2014–2022 ImageJ. All rights reserved.