Interface Spatial

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDimension()
      Returns the number of dimensions in the space that this element belongs to.
      boolean isFinite()
      Returns true if all values in this element are finite, meaning they are not NaN or infinite.
      boolean isInfinite()
      Returns true if any value in this element is infinite and none are NaN; otherwise, returns false.
      boolean isNaN()
      Returns true if any value in this element is NaN; otherwise returns false.
    • Method Detail

      • getDimension

        int getDimension()
        Returns the number of dimensions in the space that this element belongs to.
        Returns:
        the number of dimensions in the element's space
      • isNaN

        boolean isNaN()
        Returns true if any value in this element is NaN; otherwise returns false.
        Returns:
        true if any value in this element is NaN
      • isInfinite

        boolean isInfinite()
        Returns true if any value in this element is infinite and none are NaN; otherwise, returns false.
        Returns:
        true if any value in this element is infinite and none are NaN
      • isFinite

        boolean isFinite()
        Returns true if all values in this element are finite, meaning they are not NaN or infinite.
        Returns:
        true if all values in this element are finite