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: 129
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/BitSetA()VC
BD
	Fdone(Z)VHI
Jk(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M
NinternalEdgeFlagsreturnEdgeInternalJ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DD)VZ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDLjava/util/List;)VS
T
startLatitudeDstartLongitudejava/util/ArrayListY
ZD@com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint\R
]^java/util/List`add(Ljava/lang/Object;)ZbcadaddPoint(DDZ)Vjava/lang/IllegalStateExceptionh.Can't call addPoint() if done() already calledj(Ljava/lang/String;)Vl
imsize()Iopaqset(I)Vst
Bu&'	wlatitude	longitudeisInternalEdge Can't call done() more than once|"java/lang/IllegalArgumentException~$Polygon needs at least three points.?
mBcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/SidedPlane?get(I)Ljava/lang/Object;??a?
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?t
??isNumericallyIdenticalB(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;)Z??
??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;??a?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(DDD)Z
localIsWithin??
?????polygonxyz?W	???W	???W	??v@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;)Z(I)Z?
BBcom/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
??
notablePointsboundsE[Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Membership;	getBoundsC(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;)VCcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel
NORTH_POLE?	??
>com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/BoundsnoTopLatitudeBoundB()Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds; noLongitudeBound"#?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;)Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Bounds;f%&
SOUTH_POLE(?	)noBottomLatitudeBound+,
MIN_X_POLE.?	/
MAX_X_POLE1?	2
MIN_Y_POLE4?	5
MAX_Y_POLE7?	8isWide:;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;ABCnextEdge@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/DistanceStyleKcomputeDistanceH(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;DDD)DMNLO?(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MQLRcomputeOutsideDistanceTH?UnewDist	edgePoint	edgePlaneholeDistance
distanceStyleGLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;minimumDistanceequals^c
_
B_a_oLjava/lang/Object;otherhashCodefp
gagresulttoString()Ljava/lang/String;java/lang/StringBuilderm
nD GeoConcavePolygon: {planetmodel=pappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;rs
nt-(Ljava/lang/Object;)Ljava/lang/StringBuilder;rv
nw	, points=y, internalEdges={}, holes=kl
n?java/lang/String?}?	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;Ljava/util/List;)V?(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
StackMapTable
SourceFileInnerClasses 	
?

???? ?\*+,?#?? $%&'(
?(?
AB??!??K*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*,?>*-?@*?BY?E?G*?K??*K$%K&'K(
K
?K(K?:L*
,.02!4&6+80M5N:OEPJQ??L?s*+,-?O??4$%&'(
P
Q?(?
_
`??M??G*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*,?>*-?@*?G*?K??>G$%G&'G(
G
GP
GQ?G(G?:p*
,.02!4&6+80q5r:s@tFu??R?V
*+(?U??*
$%
&'
VW
XW?
?	?S??b*+?+*?-*?/*?0?2*?4*?6*?8*?:*?<*?ZY?[?>*?@*?BY?E?G*?>?]Y+(?_?eW??4b$%b&'bVWbXWb
?b?:?*
,.02!4&6+80?;?A?L?a???fg??@*?6?
?iYk?n??*?G*?>?rd?v*?>?]Y*?x')?_?eW??*@$%@yW@zW@{?????(????HI?
`*?6?
?iY}?n?*?>?r?
?Y?????*?G*?>?rd?v*?6**?>?r???-**?>?r???/**?>?r???2=*?>?r??*?>???]N*?>*`?????]:??Y-??:66*?>?r?2*``??6*?>???????
6?	?????
?Y????*?>???]:*?-??Y-??S*?/??Y*?-2??S*?2?]Y-SYSS???%*??Y*?-????8*??Y*?-????:*??Y*?-????<=*?-??*?-2N*?/2:*`??6*?/*??2???	????*d??6*?/*??2???	?????*??6*??66*`??6??>*?>???]:*?/2???*?/2???
?Y???????*?8-?Y*?/2*?/2????W*?<*?/2??W*?:*?/2??W????=*?@?/*?@??N-???-????:???`=???*?]?4=*?4?*?>???]S*?@?X*?@??N-???E-????:??::?66?2:	*?4?	S??????**?>???]?Ι
?Yз?????????=??????????????????9??u???(????????????????????????????-??	+?
4??`$%`??????"H????(?,?>?C?S?c?s???????????????????????????'?:?M?S?c?s??????????????????????????????	??7?A?D?d?w????????????????
	-
8	>AU_???6?A]]?6??N?1? ?????-]?	?K???!?0??(	???????????5*?@?/*?@??M,???,????N-+????????? $??5$%5???$.03!????????1*?>?r?*?>?rd?r`??:$%:?W:?W:?W7?FGH+I.J1G7M???????/*?4??$%?R??h?6*?-??X*?-2:*?/2:*?22:*?G??+*?x+,-?Y*?8?
?S?
??????*?@?6*?@??:???!????:+,-????????\	F??=??(4	_??????$%??????:Y
Z[\(]4_Za\Ybeig?h?i?k?n???X???$??z	?**?x???+?!?$*?x??'W**?x?*??+?-?$*?x?*?'W**?x?0??+*?x?0?'W**?x?3??+*?x?3?'W**?x?6??+*?x?6?'W**?x?9??+*?x?9?'W+?<W*?>??M,???,???]N+-?'W???*?-M,?>6?1,2:+*?x?Y*?8?
?S?@W????*?/M,?>6?T,2:*?<?
??:+*?x?Y*?:?
?SY*?<?
?S?DW??????>???"??Q5E?AE???$%?F?j?? ?&?4?F?L?Z?h?v????????????????????$?*?A?Q??????'&%????
??3?
??VGH??I9*?>??:

???-
???]:+(?P9??9???*?-:

?66?D
2:+*?x(?Y*?8?
?S?S
9??9????*?@?I*?@??:

???4
????:+(?V9????9?????z5WW&X??WW`4Y??ZW?"???$%?[\??W??W??W?]W?J??&?5?=?A?D?`??????????????????????C	??0??
L??A?L??7?^c??f+???+?M*,?`??,?G*?G?a??,?@?
*?@?%,?@?
*?@??,?@*?@?b??,?>*?>?b?? f$%fcdXe%?6
??	????&?(?6?D?F?V?X??	?

fp?|,*?h<h*?>?i`<*?@?h*?@?i`<??,$%'j??????*???*kl??_?nY?oq?u*?x?xz?u*?>?x|?u*?G?x*?@?	~??nY?o??u*?@?x???u??u????_$%???{n?n???





© 2015 - 2025 Weber Informatics LLC | Privacy Policy