
com.groupbyinc.flux.common.apache.lucene.spatial3d.geom.GeoDegeneratePath.class Maven / Gradle / Ivy
???? 4; Icom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoDegeneratePath Ccom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBasePath GeoDegeneratePath.java Ucom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoDegeneratePath$PathSegment PathSegment Ycom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoDegeneratePath$SegmentEndpoint SegmentEndpoint points Ljava/util/List; TLjava/util/List; endPoints mLjava/util/List; segments iLjava/util/List;
edgePoints C[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; isDone Z ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)V H(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;)V
java/util/Collections addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z !
" done ()V $ %
& this KLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoDegeneratePath; planetModel ELcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;
pathPoints
java/util/ArrayList . %
/ 0 2 addPoint (DD)V java/lang/IllegalStateException 6 .Can't call addPoint() if done() already called 8 (Ljava/lang/String;)V :
7 ; @com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint = * + ? J(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DD)V A
> B java/util/List D add (Ljava/lang/Object;)Z F G E H lat D lon Can't call done() twice M size ()I O P E Q "java/lang/IllegalArgumentException S !Path must have at least one point U
T ; (I)V X
/ Y
[
] iterator ()Ljava/util/Iterator; _ ` E a java/util/Iterator c hasNext ()Z e f d g next ()Ljava/lang/Object; i j d k =com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane m ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)V o
n p(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/GeoPoint;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;)V r
s get (I)Ljava/lang/Object; u v E w E(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)V y
z | start BLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; ~ ? startCutoffPlane DLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane; ? ? ? ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;)V ?
? endCutoffPlane ? ? ? ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;)V ?
? end ? ? normalizedConnectingPlane ?Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane; point onlyEndpoint [Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoDegeneratePath$SegmentEndpoint;
startEndpoint currentSegment WLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoDegeneratePath$PathSegment; i I lastPoint lastSegment ](Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)V java/io/IOException ? Jcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SerializableObject ? readPointArray ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint; ? ? ? ?
? inputStream Ljava/io/InputStream; write (Ljava/io/OutputStream;)V writePointArray )(Ljava/io/OutputStream;Ljava/util/List;)V ? ? ? ? outputStream Ljava/io/OutputStream; computePathCenterDistance M(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;DDD)D? pathCenterDistance ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;DDD)D ? ?
? ? ?
? segmentDistance segment endpointDistance endpoint
distanceStyle GLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle; x y z closestDistance computeNearestDistance Ecom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle ? nearestPathDistance ? ?
? aggregateDistances (DD)D ? ? ? ? fullPathDistance J(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;)D ? ?
? segmentPathCenterDistance endpointPathCenterDistance currentDistance minPathCenterDistance bestDistance segmentIndex distance pathDistance ? ?
? fromAggregationForm (D)D ? ? ? ? ? ?
?
deltaDistance distanceBounds ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;D)V getBounds C(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;)V ? ?
? bounds @Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;
distanceValue outsideDistance ? ?
? ? ?
? newDistance minDistance isWithin (DDD)Z ? ?
?
? pathPoint pathSegment
getEdgePoints E()[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(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;)Z ?
plane
notablePoints E[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership; E(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape;)Z ?
geoShape BLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape;
? ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;)V ?
equals G
E o Ljava/lang/Object; p hashCode P
E result toString ()Ljava/lang/String; java/lang/StringBuilder!
" 0 GeoDegeneratePath: {planetmodel=$ append -(Ljava/lang/String;)Ljava/lang/StringBuilder;&'
"( -(Ljava/lang/Object;)Ljava/lang/StringBuilder;&*
"+
, points={- }}/
"1 Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses
3
3
3 4 ] *+? *? ,? #W*? '? 5 ( ) * + , 6 : ; <