
com.groupbyinc.flux.common.geo.GeoDistance$3.class Maven / Gradle / Ivy
???? 3 S ,com/groupbyinc/flux/common/geo/GeoDistance$3 *com/groupbyinc/flux/common/geo/GeoDistance GeoDistance.java >com/groupbyinc/flux/common/geo/GeoDistance$FixedSourceDistance FixedSourceDistance Acom/groupbyinc/flux/common/geo/GeoDistance$ArcFixedSourceDistance ArcFixedSourceDistance ,com/groupbyinc/flux/common/geo/GeoDistance$1 (Ljava/lang/String;I)V D(Ljava/lang/String;ILcom/groupbyinc/flux/common/geo/GeoDistance$1;)V
this .Lcom/groupbyinc/flux/common/geo/GeoDistance$3; calculate 5(DDDDLcom/groupbyinc/flux/common/unit/DistanceUnit;)D@ !?TD-@f? java/lang/Math cos (D)D
@ 'com/groupbyinc/flux/common/geo/GeoUtils #
earthDiameter %
$ & sqrt (
) min (DD)D + ,
- asin /
0 ,com/groupbyinc/flux/common/unit/DistanceUnit 2
fromMeters 4
3 5 sourceLatitude D sourceLongitude targetLatitude targetLongitude unit .Lcom/groupbyinc/flux/common/unit/DistanceUnit; x1 x2 h1 h2 h averageLatitude diameter normalize 2(DLcom/groupbyinc/flux/common/unit/DistanceUnit;)D distance fixedSourceDistance r(DDLcom/groupbyinc/flux/common/unit/DistanceUnit;)Lcom/groupbyinc/flux/common/geo/GeoDistance$FixedSourceDistance; 3(DDLcom/groupbyinc/flux/common/unit/DistanceUnit;)V J
K Code LocalVariableTable LineNumberTable
SourceFile EnclosingMethod InnerClasses@0 M 2 *+? ? N O U M 2 t' k o9
k o9
g? g9)g k o? g9
? ? kkc !o9
c !o9? '9 ? *? .? 1k? 6? N ?
t t 7 8 t 9 8 t : 8 t ; 8 t <