Interface Rectangular1DLike<Numerical extends Number>

    • Method Detail

      • length

        Numerical length​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • lengthByte

        default byte lengthByte​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis, as a byte.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • lengthDouble

        default double lengthDouble​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis, as a double.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • lengthFloat

        default float lengthFloat​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis, as a float.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • lengthInt

        default int lengthInt​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis, as an int.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • lengthLong

        default long lengthLong​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis, as a long.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • lengthShort

        default short lengthShort​(ECartesianAxis1D axis)
        Gets the length of the side along the specified axis, as a short.
        Parameters:
        axis - the axis to get the length along
        Returns:
        The length along the specified axis
      • width

        Numerical width()
        Returns the width of the rectangular shape.
        Returns:
        the width
      • widthByte

        default byte widthByte()
        Returns the width of the rectangular shape as a byte.
        Returns:
        the width
      • widthDouble

        default double widthDouble()
        Returns the width of the rectangular shape as a double.
        Returns:
        the width
      • widthFloat

        default float widthFloat()
        Returns the width of the rectangular shape as a float.
        Returns:
        the width
      • widthInt

        default int widthInt()
        Returns the width of the rectangular shape as an int.
        Returns:
        the width
      • widthLong

        default long widthLong()
        Returns the width of the rectangular shape as a long.
        Returns:
        the width
      • widthShort

        default short widthShort()
        Returns the width of the rectangular shape as a short.
        Returns:
        the width