com.groupbyinc.flux.common.apache.lucene.spatial3d.geom.SidedPlane.class Maven / Gradle / Ivy
???? 4 ? Bcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane =com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane Bcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership SidedPlane.java sigNum D G(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;)V D(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;D)V
this DLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;
sidedPlane ?(DDDLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)V ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)V
evaluate (DDD)D
java/lang/Math signum (D)D !
" "java/lang/IllegalArgumentException $ ;Cannot determine sidedness because check point is on plane. & (Ljava/lang/String;)V
(
% ) >com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector + pX pY pZ A @Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector; B ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)V C(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)D 4
5 p ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;DDD)V F(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;DDD)V
9
: BX BY BZ ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;ZLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)V onSide Z ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;D)V I(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;D)V
C
D Ccom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel F planetModel ELcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel; sinLat E(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;DD)V (DD)V
L
M x y ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;D)V v G(DDDLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;D)V *constructNormalizedPerpendicularSidedPlaneF(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane; O , V P , X z Z , [ (DDD)V
]
, ^
,
dotProduct a 4
, b
Q
d e $Ljava/lang/IllegalArgumentException; insidePoint normalVector point1 point2 pointsVector newNormalVector 'constructNormalizedThreePointSidedPlane planeNormal point3 isWithin (DDD)Z abs s !
t=q???-?
evalResult equals (Ljava/lang/Object;)Z y z
{ java/lang/Double } compare (DD)I ?
~ ? o Ljava/lang/Object; that hashCode ()I ? ?
? doubleToLongBits (D)J ? ?
~ ? result I temp J toString ()Ljava/lang/String; java/lang/StringBuilder ? ()V
?
? ? [A= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? V (D)Ljava/lang/StringBuilder; ? ?
? ? , B= ? X , C= ? [ , D= ? , side= ? ] ? ? ?
? ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile !
? O *++?
? *+? w? ? ? ? # $ %
? ? +*? **')? ? #? *? ??
? %Y'? *?? ? > + + - + . + / + 0 1 + 2 1 ? 2 3 4 5 * 6 ? ? * , ,
3 ? ? &*,-? **+? 6? #? *? ??
? %Y'? *?? ? * &