com.groupbyinc.flux.common.apache.lucene.spatial3d.geom.GeoRectangle.class Maven / Gradle / Ivy
???? 4? Dcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoRectangle Ccom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBaseBBox GeoRectangle.java topLat D bottomLat leftLon rightLon cosMiddleLat ULHC BLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; URHC LRHC LLHC topPlane DLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane; bottomPlane leftPlane
rightPlane topPlanePoints C[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; bottomPlanePoints leftPlanePoints rightPlanePoints centerPoint
edgePoints L(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDDD)V H(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;)V
??!?TD-??!?TD- Ccom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel & "java/lang/IllegalArgumentException ( Top latitude out of range * (Ljava/lang/String;)V ,
) - Bottom latitude out of range / &Top latitude less than bottom latitude 1? !?TD-@ !?TD- Left longitude out of range 7 Right longitude out of range 9@!?TD- Width of rectangle too great = ? A C
E java/lang/Math G sin (D)D I J
H K cos M J
H N @com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint P N(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDDDDD)V R
Q S
U
W
Y
[?? _
Q a
c Bcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane e ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;D)V g
f h j l E(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;DD)V n
f o q s u w y { } this FLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoRectangle; planetModel ELcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel; extent sinTopLat cosTopLat sinBottomLat cosBottomLat
sinLeftLon
cosLeftLon sinRightLon cosRightLon middleLat sinMiddleLat middleLon sinMiddleLon cosMiddleLon expand D(D)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBBox;@ ? ? ? Fcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBBoxFactory ? makeGeoBBox ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDDD)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBBox; ? ?
? ? angle newTopLat newBottomLat currentLonSpan
newLeftLon newRightLon isWithin (DDD)Z ? ?
f ? x y z getRadius ()D arcDistance C(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)D ? ?
Q ? max (DD)D ? ?
H ? centerAngle topAngle bottomAngle
getEdgePoints E()[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; getCenter D()Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;
intersects ?(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;)Z Bcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership ? =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/Plane;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)Z ? ?
? ? p ?Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;
notablePoints bounds E[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership; getBounds C(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;)V ? ?
? >com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds ? addHorizontalPlane(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DLcom/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/Bounds; ? ? ? ? addVerticalPlane ? ? ? ? addIntersectionJ(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/Plane;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds; ? ? ? ? addPoint ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds; ? ? ? ? @Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds; getRelationship E(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape;)I isShapeInsideBBox ? ?
? @com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape ? C(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)Z ? ? ? ? ? ? ? ? path BLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape; insideRectangle I insideShape Z outsideDistance M(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;DDD)D Ecom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle ? computeDistance ?(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 ? ? ? ? H(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;DDD)D ? ? ? ? min ? ?
H ?
distanceStyle GLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle; topDistance bottomDistance leftDistance
rightDistance ULHCDistance URHCDistance LRHCDistance LLHCDistance equals (Ljava/lang/Object;)Z
Q o Ljava/lang/Object; other hashCode ()I
Q result toString ()Ljava/lang/String; java/lang/StringBuilder ()V
GeoRectangle: {planetmodel= append -(Ljava/lang/String;)Ljava/lang/StringBuilder; !
" -(Ljava/lang/Object;)Ljava/lang/StringBuilder; $
% , toplat=' (D)Ljava/lang/StringBuilder; )
* (,@f?
), bottomlat=0 ), leftlon=2 ), rightlon=4 )}6
8 Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile
: Y &