public class RadiusBound extends RectangularBound
| Constructor and Description |
|---|
RadiusBound(float[] coords,
float radius) |
RadiusBound(float[] coords,
float radius,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(float[] otherCoords) |
Iterable<ImmutablePoint> |
filter(Iterable<ImmutablePoint> points) |
byte[] |
getCacheKey() |
float[] |
getCoords() |
float |
getRadius() |
getLimit, getMaxCoords, getMinCoords, getNumDims, overlapspublic RadiusBound(float[] coords,
float radius,
int limit)
public RadiusBound(float[] coords,
float radius)
public float[] getCoords()
public float getRadius()
public boolean contains(float[] otherCoords)
contains in interface Boundcontains in class RectangularBoundpublic Iterable<ImmutablePoint> filter(Iterable<ImmutablePoint> points)
filter in interface Boundfilter in class RectangularBoundpublic byte[] getCacheKey()
getCacheKey in interface BoundgetCacheKey in class RectangularBoundCopyright © 2011–2017. All rights reserved.