Class Filter.RectangleIntersectFilter

  • All Implemented Interfaces:
    Filter
    Enclosing interface:
    Filter

    public static class Filter.RectangleIntersectFilter
    extends Object
    implements Filter
    Rectangular region filter.
    • Constructor Detail

      • RectangleIntersectFilter

        public RectangleIntersectFilter​(double[] lower,
                                        double[] upper)
    • Method Detail

      • intersects

        public boolean intersects​(double[] min,
                                  double[] max)
        Description copied from interface: Filter
        Intersects is used for the tree nodes and should only check for intersection.
        Specified by:
        intersects in interface Filter
        Parameters:
        min - Min bound of rectangle,
        max - Max bound of rectangle,
        Returns:
        True if there could exist a matching element in given range.