java.lang.Object
org.locationtech.spatial4j.shape.impl.Range
Direct Known Subclasses:
Range.LongitudeRange

@Deprecated public class Range extends Object
Deprecated.
INTERNAL: A numeric range between a pair of numbers. Perhaps this class could become 1st class citizen extending Shape but not now. Only public so is accessible from tests in another package.
  • Field Details

    • min

      protected final double min
      Deprecated.
    • max

      protected final double max
      Deprecated.
  • Constructor Details

    • Range

      public Range(double min, double max)
      Deprecated.
  • Method Details

    • xRange

      public static Range xRange(Rectangle rect, SpatialContext ctx)
      Deprecated.
    • yRange

      public static Range yRange(Rectangle rect, SpatialContext ctx)
      Deprecated.
    • getMin

      public double getMin()
      Deprecated.
    • getMax

      public double getMax()
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getWidth

      public double getWidth()
      Deprecated.
    • contains

      public boolean contains(double v)
      Deprecated.
    • getCenter

      public double getCenter()
      Deprecated.
    • expandTo

      public Range expandTo(Range other)
      Deprecated.
    • deltaLen

      public double deltaLen(Range other)
      Deprecated.