Interface AreaValuesDType

All Superinterfaces:
AreaSizeValuesDType
All Known Subinterfaces:
AreaDType, PAreaDType<S>
All Known Implementing Classes:
AreaD, PAreaD

public interface AreaValuesDType extends AreaSizeValuesDType

An area with double 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

    Modifier and Type
    Method
    Description
    double
     
    double
     
    double
     
    double
     
    default double
     
    default double
     

    Methods inherited from interface com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesDType

    height, width
  • Method Details

    • minimumX

      @Parameter(order=0) double minimumX()
      Returns:
      The value on the X axis of the minimum edge of the box (inclusive)
    • maximumX

      @Parameter(order=1) double maximumX()
      Returns:
      The value on the X axis of the maximum edge of the box (exclusive)
    • minimumY

      @Parameter(order=2) double minimumY()
      Returns:
      The value on the Y axis of the minimum edge of the box (inclusive)
    • maximumY

      @Parameter(order=3) double maximumY()
      Returns:
      The value on the Y axis of the maximum edge of the box (exclusive)
    • sizeX

      default double sizeX()
      Specified by:
      sizeX in interface AreaSizeValuesDType
      Returns:
      The size of the area on the X axis
    • sizeY

      default double sizeY()
      Specified by:
      sizeY in interface AreaSizeValuesDType
      Returns:
      The size of the area on the Y axis