org.elasticsearch.index.search.geo
Class GeoDistance.Meridian180DistanceBoundingCheck

java.lang.Object
  extended by 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


Constructor Summary
GeoDistance.Meridian180DistanceBoundingCheck(Point topLeft, Point bottomRight)
           
 
Method Summary
 Point bottomRight()
           
 boolean isWithin(double targetLatitude, double targetLongitude)
           
 Point topLeft()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDistance.Meridian180DistanceBoundingCheck

public GeoDistance.Meridian180DistanceBoundingCheck(Point topLeft,
                                                    Point bottomRight)
Method Detail

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.