Interface AreaBDType
- All Superinterfaces:
AreaSizeValuesBDType
,AreaValuesBDType
- All Known Implementing Classes:
AreaBD
An area with BigDecimal
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 axis.
-
Method Summary
Methods inherited from interface com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesBDType
height, width
Methods inherited from interface com.io7m.jregions.core.unparameterized.areas.AreaValuesBDType
sizeX, sizeY
-
Method Details
-
minimumX
- Specified by:
minimumX
in interfaceAreaValuesBDType
- Returns:
- The value on the X axis of the minimum edge of the box (inclusive)
-
maximumX
- Specified by:
maximumX
in interfaceAreaValuesBDType
- Returns:
- The value on the X axis of the maximum edge of the box (exclusive)
-
minimumY
- Specified by:
minimumY
in interfaceAreaValuesBDType
- Returns:
- The value on the Y axis of the minimum edge of the box (inclusive)
-
maximumY
- Specified by:
maximumY
in interfaceAreaValuesBDType
- Returns:
- The value on the Y axis of the maximum edge of the box (exclusive)
-
checkPreconditions
@Check default void checkPreconditions()Check the preconditions for the parameters.
-