public static class GeoDistance.SimpleDistanceBoundingCheck extends Object implements GeoDistance.DistanceBoundingCheck
| Constructor and Description |
|---|
GeoDistance.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.DistanceBoundingCheckpublic GeoPoint topLeft()
topLeft in interface GeoDistance.DistanceBoundingCheckpublic GeoPoint bottomRight()
bottomRight in interface GeoDistance.DistanceBoundingCheckCopyright © 2009–2016. All rights reserved.