public static class GeoDistance.SimpleDistanceBoundingCheck extends Object implements GeoDistance.DistanceBoundingCheck
Constructor and Description |
---|
SimpleDistanceBoundingCheck(GeoPoint topLeft,
GeoPoint bottomRight) |
Modifier and Type | Method and Description |
---|---|
GeoPoint |
bottomRight() |
boolean |
isWithin(double targetLatitude,
double targetLongitude) |
GeoPoint |
topLeft() |
public boolean isWithin(double targetLatitude, double targetLongitude)
isWithin
in interface GeoDistance.DistanceBoundingCheck
public GeoPoint topLeft()
topLeft
in interface GeoDistance.DistanceBoundingCheck
public GeoPoint bottomRight()
bottomRight
in interface GeoDistance.DistanceBoundingCheck
Copyright © 2009–2016. All rights reserved.