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

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

There is a newer version: 59
Show newest version
????4?Icom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoConcavePolygonFcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoBasePolygonGeoConcavePolygon.javaUcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoConcavePolygon$EitherBoundEitherBoundpointsLjava/util/List;TLjava/util/List;isInternalEdgesLjava/util/BitSet;holesVLjava/util/List;edgesE[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;
invertedEdgesnotableEdgePointsD[[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!
"thisKLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoConcavePolygon;planetModelELcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;	pointListH(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;)V)
*	,	.	1	3	5	7	9	;	
	=java/util/List?size()IAB@C
	ECcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModelGjava/util/BitSetI()VK
JL
	Ndone(Z)VPQ
Rk(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U
VinternalEdgeFlagsreturnEdgeInternalJ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DD)VZ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDLjava/util/List;)V[
\
startLatitudeDstartLongitudejava/util/ArrayLista
bL@com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPointdZ
efadd(Ljava/lang/Object;)Zhi@jaddPoint(DDZ)Vjava/lang/IllegalStateExceptionn.Can't call addPoint() if done() already calledp(Ljava/lang/String;)Vr
osset(I)Vuv
Jw&'	ylatitude	longitudeisInternalEdge Can't call done() more than once~"java/lang/IllegalArgumentException?$Polygon needs at least three points.?
?sBcom/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??
??Polygon points are all coplanar??(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?
??G(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;)V?
??java/util/HashMap?v
??isNumericallyIdenticalB(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;)Z??
??java/lang/StringBuilder?
?L%Constructed planes are all coplanar: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??isWithin??
??8Concave 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;
endPointIndexchecki
interiorPointedgeDLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane;invertedEdgebound1Indexbound2Index
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/SerializableObjectreadPointArray?(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?
JinputStreamLjava/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2_	?53_	?74_	?9v@Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Vector;
?/isMember
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/MembershipB&(Ljava/lang/Object;)Ljava/lang/Object;?D?E?(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@G
?H@A?J
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/GeoShapePQJ@O?SgeoShapeBLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoShape;	getBoundsC(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;)V
NORTH_POLEY?	HZ,?
\>com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds^noTopLatitudeBoundB()Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;`a_bnoLongitudeBoundda_e?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;lg_h
SOUTH_POLEj?	HknoBottomLatitudeBoundma_n
MIN_X_POLEp?	Hq
MAX_X_POLEs?	Ht
MIN_Y_POLEv?	Hw
MAX_Y_POLEy?	HzisWide|a_}addPlane(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;?_?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;??_?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?i
?
J?@?oLjava/lang/Object;otherhashCode?B
?@?result GeoConcavePolygon: {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 	
?

???? ?\*+,?#?? $%&'(
?(?
DE??!?`*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*,?>-?-?D?*?F?*-?F*?JY?M?O*?S??*`$%`&'`(
`
?`(`?BO-
/135!7&9+;0P5QBRJTOVZW_X??JH@@??T?s*+,-?W??4$%&'(
X
Y?(?
f
g??U?0\*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*,?>-?-?D?*?F?*-?F*?O*?S??>\$%\&'\(
\
\X
\Y?\(\?Bw-
/135!7&9+;0x5yBzJ|O~U[???JH@@J??Z?V
*+(?]??*
$%
&'
^_
`_?
?	?[?4y*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*?bY?c?>??D?*?F?	*?F*?JY?M?O*?>?eY+(?g?kW??4y$%y&'y^_y`_y
?y?B?-
/135!7&9+;0?;?J?R?X?c?x???RH@??lm??@*?6?
?oYq?t??*?O*?>?Dd?x*?>?eY*?z')?g?kW??*@$%@{_@|_@}?????(????PQ?a
?*?6?
?oY?t?*?>?D?
??Y?????*?O*?>?Dd?x*?6**?>?D???-**?>?D???/**?>?D???2=*?>?D??*?>???eN*?>*`?????e:??Y-??:66*?>?D?2*``??6*?>???????
6?	?????
??Y????*?>???e:*?-??Y-??S*?/??Y*?-2??S*?2?eY-SYSS???%*??Y*?-????8*??Y*?-????:*??Y*?-????<=*?-??C*?-2N*?/2:*`??6*?/2???4?!??Y??Y?????*?>???????*`??6???*d??6*?/2???4?!??Y??Y?????*?>???????*d??6???6*`??6??>*?>???e:*?/2???*?/2???
??Y???????*?8-?Y*?/2*?/2?¹?W*?<*?/2??W*?:*?/2??W????=*?F?/*?F??N-???-????:???`=???*?e?4=*?4?*?>???eS*?F?X*?F??N-???E-????:??::?66?2:	*?4?	S??????**?>???e???
??Y??????????=??????????????????9??u???W(???3???+???"??????3????I?????k??	Q+?H4???$%???????*J????(?,?>?C?S?c?s???????????????????????????'?:?M?S?c?s????????????????????????"?/?3?=?DGWu??
???????
#*HQkv|"?#?&???6?Aee?6??N?1? ??2?2??-e?	?K???!?0??(	???????????5*?F?/*?F??M,???,????N-+????????? $??5$%5???-.$/.00234????????1*?>?D?*?>?Dd?D` ?/A???4~*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*+,???>+,??N-?-?D?*?F?*-?F*,??O**?O*?>?Dd??S??*~$%~&'~E9
?E9?FJ-
/135!7&9+;0K<LEMRNZP_RgS}T??ZH@??Y+*?>?!+*?F?$+*?O?(??$%)*?XYZ[??+??	J*')?.??*?F?7*?F??:???"????:')?0???????451?J$%J2_J3_J4_?"_`
bc5dCeEgHi?

??%?,??E*+?6+?8+?:?.??$%;<?m,+??:6*?-:?6	6

	?"
2:')?>?	6?	?
?????>??:$%:2_:3_:4_7??rst+u.v1s7y??=????/*?4??$%?~?@A?h?6*?-??X*?-2:*?/2:*?22:*?O??+*?z+,-?CY*?8?F?CS?I??????*?F?6*?F??:???!????:+,-?K???????\	F??=??(4	_??????$%????L?MN?:?
???(?4?Z?\?b?i????????????X???$?@O?*?=*?-??E*?-2N*?22:*?O??%+-?CY*?8-?F?CS?R??????*?F?/*?F??M,???,????N-+?T???????>5??-	K??q???$%?UV?6
????%?E?G?M?T?q?{?}??????D????WX?z	?**?z?[?]?+?c?f*?z?[?iW**?z?l?]?+?o?f*?z?l?iW**?z?r?]?+*?z?r?iW**?z?u?]?+*?z?u?iW**?z?x?]?+*?z?x?iW**?z?{?]?+*?z?{?iW+?~W*?>??M,???,???eN+-?iW???*?-M,?>6?1,2:+*?z?CY*?8?F?CS??W????*?/M,?>6?T,2:*?<?F??:+*?z?CY*?:?F?CSY*?<?F?CS??W??????>???"??Q5??AE???$%?M??j?? ?&?4?F?L?Z?h?v????????????????????$?*?A?Q??????'&%????
=?3?
=?V??????9*?>??:

???-
???e:+(??9??9???*?-:

?66?D
2:
+*?z
(?CY*?8
?F?CS??
9??9????*?F?I*?F??:

???4
????:+(??9????9?????z5?_&????_`4??
??_?"???$%????2_?3_?4_??_?J?&5=AD`??	???
??????%	??0??
=?A???7??i??f+???+?M*,????,?O*?O????,?F?
*?F?%,?F?
*?F??,?F*?F????,?>*?>???? f$%f??X?%?6
	&( 6!D"F$V%X(?	?

?B?|,*??<h*?>??`<*?F?h*?F??`<??,$%'???-./0*2??*????_??Y?????*?z?????*?>?????*?O??*?F?	????Y?????*?F?????????????_$%?7?{??????





© 2015 - 2025 Weber Informatics LLC | Privacy Policy