public interface Frame<P extends FramePosition>
Frame: a pair of the
AlgART matrix and its
in other words, an n-dimensional matrix, placed by some way in n-dimensional space.
The matrix position is represented by
FramePosition interface and specifies, what area of
n-dimensional space corresponds to this matrix. In the simplest case, the position
is just coordinates of the starting element (0,0,...) of the matrix in the space.
See comments to
FramePosition interface for more details.
A set of frames is the basic data structure that is possible to be stitched by this package, i.e. transformed to a united matrix, corresponding to any rectangular area in n-dimensional space, probably containing all matrices, placed in the space at their positions.
Implementations of this interface are usually immutable and always thread-safe. All implementations of this interface from this package are immutable.
AlgART Laboratory 2007–2014
|Modifier and Type||Method and Description|
The number of space dimensions.
Returns the hash code of this object.
The matrix, contained in this frame.
The position in n-dimensional space, where the given
matrixis placed. There is a guarantee that thisInstance.
Matrix.freeResources(null)for the matrix, contained in this frame.
boolean equals(java.lang.Object obj)
Frame, containg the
position, equal to the matrix and position in this frame.
Note: this method should return true even the class of the passed frame is different than this class. This method checks only the built-in matrices and positions.
obj- the object to be compared for equality with this frame.