Class Interval



  • public class Interval
    extends Object
    A contiguous portion of 1D-space. Used internally by SIRtree.
    See Also:
    SIRtree
    • Constructor Detail

      • Interval

        public Interval(Interval other)
      • Interval

        public Interval(double min,
                        double max)
    • Method Detail

      • getCentre

        public double getCentre()
      • expandToInclude

        public Interval expandToInclude(Interval other)
        Returns:
        this
      • intersects

        public boolean intersects(Interval other)
      • equals

        public boolean equals(Object o)