
com.groupbyinc.flux.common.apache.lucene.bkdtree.BKDPointInPolygonQuery.class Maven / Gradle / Ivy
???? 3 ? Gcom/groupbyinc/flux/common/apache/lucene/bkdtree/BKDPointInPolygonQuery 5com/groupbyinc/flux/common/apache/lucene/search/Query BKDPointInPolygonQuery.java Ljava/lang/Deprecated; Icom/groupbyinc/flux/common/apache/lucene/bkdtree/BKDPointInPolygonQuery$1 field Ljava/lang/String; minLat D maxLat minLon maxLon polyLats [D polyLons (Ljava/lang/String;[D[D)V ()V
"java/lang/IllegalArgumentException *polyLats and polyLons must be equal length (Ljava/lang/String;)V
java/lang/String ! "at least 4 polygon points required $ java/lang/StringBuilder &
' Zfirst and last points of the polygon must be the same (it must close itself): polyLats[0]= ) append -(Ljava/lang/String;)Ljava/lang/StringBuilder; + ,
' - (D)Ljava/lang/StringBuilder; + /
' 0
polyLats[ 2 (I)Ljava/lang/StringBuilder; + 4
' 5 ]= 7 toString ()Ljava/lang/String; 9 :
' ; Zfirst and last points of the polygon must be the same (it must close itself): polyLons[0]= =
polyLons[ ? A C? ?? >com/groupbyinc/flux/common/apache/lucene/bkdtree/BKDTreeWriter I validLat (D)Z K L
J M polyLats[ O is not a valid latitude Q java/lang/Math S min (DD)D U V
T W max Y V
T Z validLon \ L
J ] polyLons[ _ is not a valid longitude a c e g
i lat lon i I this ILcom/groupbyinc/flux/common/apache/lucene/bkdtree/BKDPointInPolygonQuery; createWeight z(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; java/io/IOException s ?(Lcom/groupbyinc/flux/common/apache/lucene/bkdtree/BKDPointInPolygonQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V u
v searcher ?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; needsScores Z equals (Ljava/lang/Object;)Z java/lang/Object ~ getClass ()Ljava/lang/Class; ? ?
? | }
? java/util/Arrays ? ([D[D)Z | ?
? ? o Ljava/lang/Object; that hashCode ()I ? ?
? ([D)I ? ?
? ? result &(Ljava/lang/String;)Ljava/lang/String; java/lang/Class ?
getSimpleName ? :
? ? (C)Ljava/lang/StringBuilder; + ?
' ?
" ? field= ? Points: ? [ ? , ? ] ? sb Ljava/lang/StringBuilder; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile
Deprecated InnerClasses RuntimeVisibleAnnotations !
? ? ?*? *+? ,?-??
? Y? ?,??
? Y%? ?,1,,?d1?? :? Y? 'Y? (*? .,1? 13? .,?d? 68? .,,?d1? 1?