Class Index.BoxEntry<T>

  • Type Parameters:
    T - Value type
    Direct Known Subclasses:
    Index.BoxEntryKnn, RTreeEntry
    Enclosing interface:
    Index

    public static class Index.BoxEntry<T>
    extends Object
    A box entry. Boxes are axis-aligned. They are defined by there minimum and maximum values, i.e. their "lower left" and "upper right" corners.
    • Constructor Detail

      • BoxEntry

        public BoxEntry​(double[] min,
                        double[] max,
                        T val)
    • Method Detail

      • min

        public double[] min()
        Returns:
        The lower left corner of the box.
      • max

        public double[] max()
        Returns:
        The upper right corner of the entry.
      • value

        public T value()
        Returns:
        The value associated with the box or point.
      • set

        public void set​(double[] min,
                        double[] max)
      • set

        public void set​(double[] min,
                        double[] max,
                        T val)