org.elasticsearch.index.search.geo
Class GeoDistance.Meridian180DistanceBoundingCheck
java.lang.Object
org.elasticsearch.index.search.geo.GeoDistance.Meridian180DistanceBoundingCheck
- All Implemented Interfaces:
- GeoDistance.DistanceBoundingCheck
- Enclosing class:
- GeoDistance
public static class GeoDistance.Meridian180DistanceBoundingCheck
- extends Object
- implements GeoDistance.DistanceBoundingCheck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoDistance.Meridian180DistanceBoundingCheck
public GeoDistance.Meridian180DistanceBoundingCheck(Point topLeft,
Point bottomRight)
isWithin
public boolean isWithin(double targetLatitude,
double targetLongitude)
- Specified by:
isWithin
in interface GeoDistance.DistanceBoundingCheck
topLeft
public Point topLeft()
- Specified by:
topLeft
in interface GeoDistance.DistanceBoundingCheck
bottomRight
public Point bottomRight()
- Specified by:
bottomRight
in interface GeoDistance.DistanceBoundingCheck
Copyright © 2009-2012. All Rights Reserved.