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, overlaps
public 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 Bound
contains
in class RectangularBound
public Iterable<ImmutablePoint> filter(Iterable<ImmutablePoint> points)
filter
in interface Bound
filter
in class RectangularBound
public byte[] getCacheKey()
getCacheKey
in interface Bound
getCacheKey
in class RectangularBound
Copyright © 2011–2017. All rights reserved.