Class Range
java.lang.Object
org.locationtech.spatial4j.shape.impl.Range
- Direct Known Subclasses:
Range.LongitudeRange
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double v) Deprecated.doubleDeprecated.booleanDeprecated.Deprecated.doubleDeprecated.doublegetMax()Deprecated.doublegetMin()Deprecated.doublegetWidth()Deprecated.inthashCode()Deprecated.toString()Deprecated.static RangexRange(Rectangle rect, SpatialContext ctx) Deprecated.static RangeyRange(Rectangle rect, SpatialContext ctx) Deprecated.
-
Field Details
-
min
protected final double minDeprecated. -
max
protected final double maxDeprecated.
-
-
Constructor Details
-
Range
public Range(double min, double max) Deprecated.
-
-
Method Details
-
xRange
Deprecated. -
yRange
Deprecated. -
getMin
public double getMin()Deprecated. -
getMax
public double getMax()Deprecated. -
equals
-
hashCode
-
toString
-
getWidth
public double getWidth()Deprecated. -
contains
public boolean contains(double v) Deprecated. -
getCenter
public double getCenter()Deprecated. -
expandTo
-
deltaLen
Deprecated.
-