com.groupbyinc.flux.common.geo.builders.CircleBuilder.class Maven / Gradle / Ivy
???? 4 ? 5com/groupbyinc/flux/common/geo/builders/CircleBuilder 4com/groupbyinc/flux/common/geo/builders/ShapeBuilder CircleBuilder.java Acom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType GeoShapeType 5com/groupbyinc/flux/common/unit/DistanceUnit$Distance ,com/groupbyinc/flux/common/unit/DistanceUnit Distance 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params FIELD_RADIUS Ljava/lang/String; radius TYPE CLcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType; unit .Lcom/groupbyinc/flux/common/unit/DistanceUnit; D center ?Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; ()V
DEFAULT " # % ZERO_ZERO ' ( * this 7Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException / readFromStream s(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; 1 2
3 x(Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;)Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder; 5
6 0com/groupbyinc/flux/common/io/stream/StreamInput 8
readDouble ()D : ;
9 < b(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/unit/DistanceUnit; 1 >
? h(DLcom/groupbyinc/flux/common/unit/DistanceUnit;)Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder; A
B in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V writeCoordinateTo u(Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V H I
J L 1com/groupbyinc/flux/common/io/stream/StreamOutput N writeDouble (D)V P Q
O R F G
T out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; ;(DD)Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder; =com/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate Y (DD)V [
Z \ lon lat A()Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate; K(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder;
parseDistance K(Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/DistanceUnit$Distance; b c
d p(Lcom/groupbyinc/flux/common/unit/DistanceUnit$Distance;)Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder; f
g value i
j
% 7Lcom/groupbyinc/flux/common/unit/DistanceUnit$Distance; L(DLjava/lang/String;)Lcom/groupbyinc/flux/common/geo/builders/CircleBuilder;
fromString B(Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/DistanceUnit; o p
q 0()Lcom/groupbyinc/flux/common/unit/DistanceUnit;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder v startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; x y
w z type | ~ shapeName ()Ljava/lang/String; ? ?
? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
w ? toString (D)Ljava/lang/String; ? ?
? coordinates ? I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
w ? ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/vividsolutions/jts/geom/Coordinate;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; t ?
? endObject ? y
w ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; build B()Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Circle; SPATIAL_CONTEXT QLcom/groupbyinc/flux/common/locationtech/spatial4j/context/jts/JtsSpatialContext; ? ? ? x ? Z ? y ? Z ?@v? getEarthCircumference ? ;
? Ocom/groupbyinc/flux/common/locationtech/spatial4j/context/jts/JtsSpatialContext ?
makeCircle E(DDD)Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Circle; ? ?
? ? E()Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$GeoShapeType; hashCode ()I java/lang/Object ? java/lang/Double ? valueOf (D)Ljava/lang/Double; ? ?
? ? ordinal ? ?
? java/lang/Integer ? (I)Ljava/lang/Integer; ? ?
? ? java/util/Objects ? hash ([Ljava/lang/Object;)I ? ?
? ? equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; ? ?
? ? '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
? ? obj Ljava/lang/Object; other A()Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape; ? ?
? CIRCLE ? ?
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile InnerClasses ! ? ? I *? !*? $? &*? )? +? ? , - ? / ' 0 1 . ? f "*? !*? $? &*+? 4? 7W*+? =+? @? CW? ? " , - " D E ? 6 ' 7 8 ! 9 ? 0 F G ? Y *? ++? K+*? M? S*? &+? U? ? , - V W ? = > ? @ ? 0 5 ? ? *+? +*? ? , - ?
I J X ? L *? ZY')? ]? 7? ? , - ^ _ ? T ` ? / *? +? ? , - ? [ a ? = *+? e? h? ? , - ? d f ? A
*+? k+? l? C? ?
, -
m ? m n ? H
*'-? r? C? ?
, -
? w A ? R *-? &*'? M*? ? , - ? ? ?
? ; ? / *? M? ? , - ? ? s ? / *? &? ? , - ? ? t u ? ? 9+? {W+}? ? ?? ?W+*? &*? M? ?? ?W+?? ?W+*? +? ?W+? ?? ? 9 , - 9 ? ? 9 ? ? ? ? ? ? $ ? + ? 4 ? ? 0 ? ? ? O %? ?*? +? ?*? +? ? ?*? Mk*? &? ?o? ?? ? % , - ? ? | ? ? . ? ? ? , - ? ? ? ? ? P &? ?Y*? +SY*? M? ?SY*? &? ?? ?S? ʬ ? &