Interface SpatialComparable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDimensionality()
      Returns the dimensionality of the object.
      double getMax​(int dimension)
      Returns the maximum coordinate at the specified dimension.
      double getMin​(int dimension)
      Returns the minimum coordinate at the specified dimension.
    • Method Detail

      • getDimensionality

        int getDimensionality()
        Returns the dimensionality of the object.
        Returns:
        the dimensionality
      • getMin

        double getMin​(int dimension)
        Returns the minimum coordinate at the specified dimension.
        Parameters:
        dimension - the dimension for which the coordinate should be returned, where 0 ≤ dimension < getDimensionality()
        Returns:
        the minimum coordinate at the specified dimension
      • getMax

        double getMax​(int dimension)
        Returns the maximum coordinate at the specified dimension.
        Parameters:
        dimension - the dimension for which the coordinate should be returned, where 0 ≤ dimension < getDimensionality()
        Returns:
        the maximum coordinate at the specified dimension