
com.groupbyinc.flux.common.apache.lucene.spatial3d.geom.LinearSquaredDistance.class Maven / Gradle / Ivy
???? 4 V Mcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/LinearSquaredDistance java/lang/Object Ecom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle LinearSquaredDistance.java INSTANCE OLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/LinearSquaredDistance; ()V
this computeDistance ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)D @com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint linearDistanceSquared C(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)D
point1 BLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; point2 H(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;DDD)D (DDD)D
x2 D y2 z2(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)D =com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane # ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)D %
$ & planetModel ELcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel; plane ?Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane; point bounds E[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership; ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;DDD[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)D ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDD[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)D 0
$ 1 x y z toAggregationForm (D)D java/lang/Math 8 sqrt : 7
9 ; distance fromAggregationForm aggregateDistance findDistancePointsQ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; java/lang/IllegalStateException B 8Reverse mapping not implemented for this distance metric D (Ljava/lang/String;)V
F
C G
distanceValue
startPoint findMinimumArcDistance I(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;D)D findMaximumArcDistance
P Code LocalVariableTable LineNumberTable
SourceFile !
R 3 *?
? S T
R D +,? ? S T $ R \
+(? ? S 4
! T ) ? " R [ ,+-? '? S 4 ( ) * + , - . T . ? / R s
,+) ? 2? S H
( )
* +
3
4
5
- . T 3 6 7 R 9 '?