Class Range
- java.lang.Object
-
- org.locationtech.spatial4j.shape.impl.Range
-
- Direct Known Subclasses:
Range.LongitudeRange
@Deprecated public class Range extends java.lang.ObjectDeprecated.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRange.LongitudeRangeDeprecated.
-
Constructor Summary
Constructors Constructor Description Range(double min, double max)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontains(double v)Deprecated.doubledeltaLen(Range other)Deprecated.booleanequals(java.lang.Object o)Deprecated.RangeexpandTo(Range other)Deprecated.doublegetCenter()Deprecated.doublegetMax()Deprecated.doublegetMin()Deprecated.doublegetWidth()Deprecated.inthashCode()Deprecated.java.lang.StringtoString()Deprecated.static RangexRange(Rectangle rect, SpatialContext ctx)Deprecated.static RangeyRange(Rectangle rect, SpatialContext ctx)Deprecated.
-
-
-
Method Detail
-
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(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
getWidth
public double getWidth()
Deprecated.
-
contains
public boolean contains(double v)
Deprecated.
-
getCenter
public double getCenter()
Deprecated.
-
deltaLen
public double deltaLen(Range other)
Deprecated.
-
-