Interface VolumeIType
- All Superinterfaces:
VolumeSizeValuesIType,VolumeValuesIType
- All Known Implementing Classes:
VolumeI
@Immutable public interface VolumeIType extends VolumeValuesIType
A volume with int coordinates.
The coordinates of the area are given in half-closed form. That is,
minimumX() refers to the minimum inclusive value on the X
axis, and maximumX() refers to the maximum exclusive value on
the X axis. Likewise for the Y and Z axes.
-
Method Summary
Methods inherited from interface com.io7m.jregions.core.unparameterized.volumes.VolumeValuesIType
sizeX, sizeY, sizeZ
-
Method Details
-
minimumX
@Parameter(order=0) int minimumX()- Specified by:
minimumXin interfaceVolumeValuesIType- Returns:
- The value on the X axis of the minimum edge of the box (inclusive)
-
maximumX
@Parameter(order=1) int maximumX()- Specified by:
maximumXin interfaceVolumeValuesIType- Returns:
- The value on the X axis of the maximum edge of the box (exclusive)
-
minimumY
@Parameter(order=2) int minimumY()- Specified by:
minimumYin interfaceVolumeValuesIType- Returns:
- The value on the Y axis of the minimum edge of the box (inclusive)
-
maximumY
@Parameter(order=3) int maximumY()- Specified by:
maximumYin interfaceVolumeValuesIType- Returns:
- The value on the Y axis of the maximum edge of the box (exclusive)
-
minimumZ
@Parameter(order=4) int minimumZ()- Specified by:
minimumZin interfaceVolumeValuesIType- Returns:
- The value on the Z axis of the minimum edge of the box (inclusive)
-
maximumZ
@Parameter(order=5) int maximumZ()- Specified by:
maximumZin interfaceVolumeValuesIType- Returns:
- The value on the Z axis of the maximum edge of the box (exclusive)
-
checkPreconditions
@Check default void checkPreconditions()Check the preconditions for the parameters.
-