Interface PAreaSizeDType<S>
- Type Parameters:
S- A phantom type parameter indicating the coordinate space of the area
- All Superinterfaces:
AreaSizeValuesDType
- All Known Implementing Classes:
PAreaSizeD
@Immutable public interface PAreaSizeDType<S> extends AreaSizeValuesDType
The size of an area with
double coordinates.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPAreaSizeDType.Builder<S>A builder for size values. -
Method Summary
Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.doublesizeX()doublesizeY()Methods inherited from interface com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesDType
height, width
-
Method Details
-
sizeX
@Parameter(order=0) double sizeX()- Specified by:
sizeXin interfaceAreaSizeValuesDType- Returns:
- The size of the area on the X axis
-
sizeY
@Parameter(order=1) double sizeY()- Specified by:
sizeYin interfaceAreaSizeValuesDType- Returns:
- The size of the area on the Y axis
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-