
com.groupbyinc.flux.common.apache.lucene.spatial.util.GeoUtils.class Maven / Gradle / Ivy
???? 3 ? >com/groupbyinc/flux/common/apache/lucene/spatial/util/GeoUtils java/lang/Object
GeoUtils.java MIN_LON_INCL D?f? MAX_LON_INCL@f? MIN_LAT_INCL?V? MAX_LAT_INCL@V? ()V
this @Lcom/groupbyinc/flux/common/apache/lucene/spatial/util/GeoUtils;
isValidLat (D)Z java/lang/Double isNaN
lat
isValidLon lon normalizeLon (D)D@v? lon_deg off normalizeLat java/lang/Math * abs , $
+ - lat_deg circleToPoly (DDD)Ljava/util/ArrayList; java/util/ArrayList 2
3 [D 5 Hcom/groupbyinc/flux/common/apache/lucene/spatial/util/GeoProjectionUtils 7 !pointFromLonLatBearingGreatCircle
(DDDD[D)[D 9 :
8 ; add (Ljava/lang/Object;)Z = >
3 ? angle i I radiusMeters sides geometry Ljava/util/ArrayList<[D>; Ljava/util/ArrayList; lons lats pt sidesLen circleToBBox D(DDD)Lcom/groupbyinc/flux/common/apache/lucene/spatial/util/GeoRect;???F?R?9AXT?@ ??!?TD-??!?TD- 8com/groupbyinc/flux/common/apache/lucene/util/SloppyMath W sin Y $
X Z cos \ $
X ] asin _ $
X `? !?TD-@!?TD-@ !?TD- max (DD)D h i
+ j min l i
+ m =com/groupbyinc/flux/common/apache/lucene/spatial/util/GeoRect o@L??c?? (DDDD)V s
p t deltaLon minLon maxLon centerLon centerLat radLat radLon radDistance minLat maxLat
polyToBBox E([D[D)Lcom/groupbyinc/flux/common/apache/lucene/spatial/util/GeoRect; "java/lang/IllegalArgumentException ? *polyLons and polyLats must be equal length ? (Ljava/lang/String;)V ?
? ?? ?? !
? java/lang/StringBuilder ?
? invalid polyLons[ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? ]= ? (D)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ?
? invalid polyLats[ ?>?????? polyLons polyLats
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature (DDD)Ljava/util/ArrayList<[D>;
SourceFile 1 ?
?
? ? ? 3 *? ? ? ?
: ; ? R &? ? & ?? & ?? ? ? ? ? ? ? @ ! ? R &? ? & ?? & ?? ? ? ? " ? D ? @ # $ ? ? >& ??
& ?? &?& c %sI(?? (c?(??
&?? ? (c? ? > ' " ( ? " I J L M " N ( O 4 P 8 R ? ? ) $ ? ? 5& ??
& ?? &?& c %s? .I( ?? (? %(g g? ? 5 / ( ? X Y [ \ ? ? D 0 1 ? ? ?6? 3Y? 4:?:?: ?:
66? 4hhl?9
&(
? <:
1R
1R????1R 1R? @W ? @W? ? p 8 % A
% 8 B C ? " ? ? D ~ E C
u F H o I 5 i J 5 d K 5
" ` L C ?
u F G ? F k l
m n p q " r , s 8 t E u N v W r ] y f z o { w | ~ ? ? %
3 6 6 6 ? 7 ? ? M N ? ? ? O(k9 O&k9 Qo9
g9
c9 S?? O U?? F
? [? ^o? a9g9 b?? dc9c9 f?? dg9? ! S? k9 U? n9 b9 f9? pY qk qk qk qk? u? ? ?
F 0 v M , w e x ? y ? z ? D ? { ? | ? }
? ~ $ ? ? % w ? x ? N ? ? ? ? ? $ ? 6 ? F ? M ? V ? ^ ? e ? n ? v ? y ? ? ? ? ? ? ? ? ? ? H ? ^
? ? ? ? ? ? ? ?*?+??
? ?Y?? ?? ?I ?9 ?9 ?96
+?? ?*
1? ?? +? ?Y? ?Y? ??? ?
? ??? ?*
1? ?? ?? ??+
1? ?? +? ?Y? ?Y? ??? ?
? ??? ?+
1? ?? ?? ??*
1(? nI*
1? k9+
1? n9+
1? k9?
??h? pY( ?g ? k ?c ? n ?g ? k ?c ? n? u? ? H ' ? B C
? ? 5 ? ? 5 ? w ? x ? ~ $ ? ? F ? ? ? ? ? ? $ ? . ? 8 ? ` ? j ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6 6 81? / ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy