Interface Rectangular2DLike<Numerical extends Number>

Type Parameters:
Numerical - the type of the width and height
All Superinterfaces:
Rectangular, Rectangular1D<Numerical>, Rectangular1DLike<Numerical>, Serializable
All Known Implementing Classes:
Rectangular2DDouble, Rectangular2DLong

public interface Rectangular2DLike<Numerical extends Number> extends Rectangular1D<Numerical>
A rectangular shape of at least dimension 2.
Since:
1.0.0
  • Method Details

    • height

      Numerical height()
      Returns the height of the rectangular shape.
      Returns:
      the height
    • heightByte

      default byte heightByte()
      Returns the height of the rectangular shape as a byte.
      Returns:
      the height
    • heightDouble

      default double heightDouble()
      Returns the height of the rectangular shape as a double.
      Returns:
      the height
    • heightFloat

      default float heightFloat()
      Returns the height of the rectangular shape as a float.
      Returns:
      the height
    • heightInt

      default int heightInt()
      Returns the height of the rectangular shape as an int.
      Returns:
      the height
    • heightLong

      default long heightLong()
      Returns the height of the rectangular shape as a long.
      Returns:
      the height
    • heightShort

      default short heightShort()
      Returns the height of the rectangular shape as a short.
      Returns:
      the height