Hyperparallelepiped: the simplest n-dimensional region. In 1-dimensional case it is a segment, in 2-dimensional case it is a rectangle, in 3-dimensional case it is a parallelepiped. All edges of the hyperparallelepiped are supposed to be parallel to coordinate axes.
where coordRanges is the result of Matrices.Region.coordRanges() method.
Returns true if and only if the coordinates of all points (with integer coordinates), belonging to this hyperparallelepiped, lies inside the specified matrix.
Returns true if and only if the coordinates of all points (with integer coordinates), belonging to this hyperparallelepiped, will lie inside the specified matrix after subtraction the specified values backShifts from them.
Returns true if this region is rectangular, that is if it contains the same set of integer points (points with integer coordinates) as some hyperparallelepiped.
Returns true if this region is rectangular, that is if it contains the same set of integer points (points with integer coordinates) as some hyperparallelepiped. This method always returns false if this region is not rectangular, but there is no guarantee that it returns true when it is rectangular.
This default implementation returns false. In Matrices.Hyperparallelepiped class this method returns true. In all other inheritors of this class, implemented in this package, it returns false.
true if this region is rectangular.
sectionCoordinateValue - the value of the last coordinate.
This method is equivalent to the following call: isInsideMatrix(matrix, new long).
true if this region lies fully inside the specified matrix.
java.lang.NullPointerException - if the matrix argument is null.
Note: the number of matrix dimensions can differ from the number of dimensions of this region. (All matrix dimensions after the first Matrices.Region.n(), as usual, are supposed to be 1.) The number of elements of backShifts also can differ from the number of dimensions. All missing elements of backShifts array are supposed to be zero.
backShifts - the shifts, which are subtracted from all coordinates of this region before the check.
true if this region, shifted backwards by the specified shifts, lies fully inside the specified matrix.
java.lang.NullPointerException - if the matrix or backShifts argument is null.