Class Range
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Range.LongitudeRange
Deprecated.
-
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 boolean
contains(double v)
Deprecated.double
deltaLen(Range other)
Deprecated.boolean
equals(Object o)
Deprecated.Range
expandTo(Range other)
Deprecated.double
getCenter()
Deprecated.double
getMax()
Deprecated.double
getMin()
Deprecated.double
getWidth()
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.static Range
xRange(Rectangle rect, SpatialContext ctx)
Deprecated.static Range
yRange(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.
-
getWidth
public double getWidth()
Deprecated.
-
contains
public boolean contains(double v)
Deprecated.
-
getCenter
public double getCenter()
Deprecated.
-
deltaLen
public double deltaLen(Range other)
Deprecated.
-
-