All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.apache.lucene.spatial3d.geom.GeoConvexPolygon.class Maven / Gradle / Ivy

????4?Hcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoConvexPolygonFcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBasePolygonGeoConvexPolygon.javaTcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoConvexPolygon$EitherBoundEitherBoundpointsLjava/util/List;TLjava/util/List;isInternalEdgesLjava/util/BitSet;holesVLjava/util/List;edgesE[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;notableEdgePointsD[[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;
edgePointsC[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;isDoneZeitherBoundsLjava/util/Map;?Ljava/util/Map;prevBrotherMap?Ljava/util/Map;nextBrotherMapX(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;)Vh(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;Ljava/util/List;)V 
!thisJLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoConvexPolygon;planetModelELcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;	pointListH(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;)V(
)	+	.	0	2	4	6	8	
	:java/util/List<size()I>?=@
	BCcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModelDjava/util/BitSetF()VH
GI
	Kdone(Z)VMN
Ok(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;Ljava/util/BitSet;Z)V{(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;Ljava/util/List;Ljava/util/BitSet;Z)VR
SinternalEdgeFlagsreturnEdgeInternalJ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DD)VZ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDLjava/util/List;)VX
Y
startLatitudeDstartLongitudejava/util/ArrayList^
_I@com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPointaW
bcadd(Ljava/lang/Object;)Zef=gaddPoint(DDZ)Vjava/lang/IllegalStateExceptionk.Can't call addPoint() if done() already calledm(Ljava/lang/String;)Vo
lpset(I)Vrs
Gt%&	vlatitude	longitudeisInternalEdge Can't call done() more than once{"java/lang/IllegalArgumentException}$Polygon needs at least three points.
~pBcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane?get(I)Ljava/lang/Object;??=?
legalIndex(I)I??
?=com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane??(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)V?
??>com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector?evaluateIsZeroC(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;)Z??
??java/lang/StringBuilder?
?I!Polygon points are all coplanar: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
???(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?
??java/util/HashMap?s
??isNumericallyIdenticalB(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;)Z??
??%Constructed planes are all coplanar: ?isWithin??
??7Convex polygon has a side that is more than 180 degrees??(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;)V?
?
java/util/Map?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????iterator()Ljava/util/Iterator;??=?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????Bcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPolygon?
getEdgePointsE()[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;????
isWithinHolesE(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)Z??
?3Polygon edge intersects a polygon hole; not allowed?indexIjstartBLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;endplaneToFind?Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;
endPointIndexcheckspDLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;i
interiorPointedgebound1Indexbound2Index
startingIndex	edgeIndexholeDLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPolygon;pholeEdgePointsisInternalReturnEdgeedgePointCount??point](Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)Vjava/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;????java/util/ArraysasList%([Ljava/lang/Object;)Ljava/util/List;
readPolygonArray?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPolygon;?	java/io/InputStream
readBitSet)(Ljava/io/InputStream;)Ljava/util/BitSet;
?(I)Z?
GinputStreamLjava/io/InputStream;write(Ljava/io/OutputStream;)VwritePointArray)(Ljava/io/OutputStream;Ljava/util/List;)V?writePolygonArray?writeBitSet+(Ljava/io/OutputStream;Ljava/util/BitSet;)V ?!outputStreamLjava/io/OutputStream;(DDD)Z
localIsWithin&%
'?%?)polygonxyz,\	?/-\	?1.\	?3v@Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;
?)
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;)ZBcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;&(Ljava/lang/Object;)Ljava/lang/Object;?=?>?(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9@
?A9:?C
notablePointsboundsE[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;E(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape;)Z@com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShapeIJC9H?LshapeBLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape;	getBoundsC(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;)V
NORTH_POLER?	ES&?
U>com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/BoundsWnoTopLatitudeBoundB()Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;YZX[noLongitudeBound]ZX^?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;i`Xa
SOUTH_POLEc?	EdnoBottomLatitudeBoundfZXg
MIN_X_POLEi?	Ej
MAX_X_POLEl?	Em
MIN_Y_POLEo?	Ep
MAX_Y_POLEr?	EsaddPlane(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/Membership;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;uvXwaddIntersectionJ(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;yzX{nextEdge@Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;outsideDistanceM(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;DDD)D?Ecom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle?computeDistanceH(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;DDD)D?????(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????computeOutsideDistance????newDist	edgePoint	edgePlaneholeDistance
distanceStyleGLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;minimumDistanceequals?f
?
G?=?oLjava/lang/Object;otherhashCode??
?=?resultGeoConvexPolygon: {planetmodel=?	, points=?, internalEdges=??, holes=?java/lang/String?}?	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;)V
StackMapTable?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;Ljava/util/List;)V?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;Ljava/util/BitSet;Z)V(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;Ljava/util/List;Ljava/util/BitSet;Z)V?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDLjava/util/List;)V
Exceptions
SourceFileInnerClasses 
	
?

?????\*+,?"?? #$%&'
?'?
BC?? ?[*+?**?,*?-?/*?1*?3*?5*?7*?9*,?;-?-?A?*?C?*-?C*?GY?J?L*?P??*[#$[%&['
[
?['[?>M-
/135!7&9+N0O=PERJTUUZV??EE==??Q?s*+,-?T??4#$%&'
U
V?'?
d
e??R?'W*+?**?,*?-?/*?1*?3*?5*?7*?9*,?;-?-?A?*?C?*-?C*?L*?P??>W#$W%&W'
W
WU
WV?W'W?>u-
/135!7&9+v0w=xEzJ|P}V~??EE==G??W?V
*+(?Z??*
#$
%&
[\
]\?
?	?X?+t*+?**?,*?-?/*?1*?3*?5*?7*?9*?_Y?`?;??A?*?C?	*?C*?GY?J?L*?;?bY+(?d?hW??4t#$t%&t[\t]\t
?t?>?-
/135!7&9+?6?E?M?S?^?s???ME=??ij??@*?3?
?lYn?q??*?L*?;?Ad?u*?;?bY*?w')?d?hW??*@#$@x\@y\@z?????(????MN?>
?*?3?
?lY|?q?*?;?A?
?~Y?????*?L*?;?Ad?u*?3**?;?A???,**?;?A???/=*?;?A??*?;???bN*?;*`?????b:??Y-??:66*?;?A?2*``??6*?;???????
6?	?????!?~Y??Y?????*?;???????*?;???b:??Y-??:*?,S*?/?bY-SYSS???!*??Y*?,????5*??Y*?,????7*??Y*?,????9=*?,??7*?,2N*`??6*?,2-???4?!?~Y??Y?????*?;???????*`??6???*d??6*?,2-???4?!?~Y??Y?????*?;???????*d??6???6*`??6??>*?;???b:*?,2???*?,2???
?~Y???????*?5-?Y*?,2*?,2????W*?9-*?,2??W*?7-*?,2??W????=*?C?/*?C??N-???-????:???`=???*?b?1=*?1?*?;???bS*?C?X*?C??N-???E-????:??::?66?2:	*?1?	S??????**?;???b?ڙ
?~Yܷ?????????=??????????????????)??&??e???A(???'????????????y=?????S??	9+?04???#$???????"H????(?,?>?C?S?c?r?????????????????????????&?.?A?G?W?g?w????????????????????????'?.?1?A?_?il???????
?????09S^dg{?!???&?Abb?6?#?>?1??1?1??-b?	?I???!?0??(	???????????5*?C?/*?C??M,???,????N-+????????? $??5#$5???()$*.+0-3/????????1*?;?A?*?;?Ad5??-	K??q???#$?NO?6
????%?E?G?M?T?q?{?}??????D????PQ?5	i**?w?T?V?+?\?_*?w?T?bW**?w?e?V?+?h?_*?w?e?bW**?w?k?V?+*?w?k?bW**?w?n?V?+*?w?n?bW**?w?q?V?+*?w?q?bW**?w?t?V?+*?w?t?bW*?;??M,???,???bN+-?bW???*?,M,?>6?v,2:+*?w?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy