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

There is a newer version: 129
Show newest version
????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/BitSet>()V@
?A
	Cdone(Z)VEF
Gk(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J
KinternalEdgeFlagsreturnEdgeInternalJ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DD)VZ(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/PlanetModel;DDLjava/util/List;)VP
Q
startLatitudeDstartLongitudejava/util/ArrayListV
WA@com/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPointYO
Z[java/util/List]add(Ljava/lang/Object;)Z_`^aaddPoint(DDZ)Vjava/lang/IllegalStateExceptione.Can't call addPoint() if done() already calledg(Ljava/lang/String;)Vi
fjsize()Ilm^nset(I)Vpq
?r%&	tlatitude	longitudeisInternalEdge Can't call done() more than oncey"java/lang/IllegalArgumentException{$Polygon needs at least three points.}
|jBcom/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?
?A!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?q
??isNumericallyIdenticalB(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/Plane;)Z??
??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(DDD)Z
localIsWithin??
?????polygonxyz?T	???T	??T	?v@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;)Z(I)Z?

?Bcom/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/Bounds#noTopLatitudeBoundB()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;c,$-
SOUTH_POLE/?	0noBottomLatitudeBound2&$3
MIN_X_POLE5?	6
MAX_X_POLE8?	9
MIN_Y_POLE;?	<
MAX_Y_POLE>?	?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;AB$CaddIntersectionJ(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;EF$GnextEdge@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/DistanceStyleOcomputeDistanceH(Lcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/GeoPoint;DDD)DQRPS?(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QUPVcomputeOutsideDistanceXL?YnewDist	edgePoint	edgePlaneholeDistance
distanceStyleGLcom/groupbyinc/flux/common/apache/lucene/spatial3d/geom/DistanceStyle;minimumDistanceequalsb`
c
?c^coLjava/lang/Object;otherhashCodejm
k^kresultGeoConvexPolygon: {planetmodel=o	, points=q, internalEdges=su, holes=wjava/lang/Stringy}{	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 
	
}

}}}}~\*+,?"? #$%&'
?'?
?@}? ~?F*+?**?,*?-?/*?1*?3*?5*?7*?9*,?;*-?=*??Y?B?D*?H?*F#$F%&F'
F
?F'F?6
J*
,.02!4&6+K0L5M@NEO}?I~s*+,-?L?4#$%&'
M
N?'?
]
^}?J~?B*+?**?,*?-?/*?1*?3*?5*?7*?9*,?;*-?=*?D*?H?>B#$B%&B'
B
BM
BN?B'B?6
n*
,.02!4&6+o0p5q;rAs}?O~V
*+(?R?*
#$
%&
ST
UT?
	?P~?]*+?**?,*?-?/*?1*?3*?5*?7*?9*?WY?X?;*?=*??Y?B?D*?;?ZY+(?\?bW?4]#$]%&]ST]UT]
?]?6
?*
,.02!4&6+?6?<?G?\?}?cd~?@*?3?
?fYh?k??*?D*?;?od?s*?;?ZY*?u')?\?bW?*@#$@vT@wT@x?????(????EF~?
H*?3?
?fYz?k?*?;?o?
?|Y~???*?D*?;?od?s*?3**?;?o???,**?;?o???/=*?;?o??*?;???ZN*?;*`?????Z:??Y-??:66*?;?o?2*``??6*?;???????
6?	?????!?|Y??Y?????*?;??????*?;???Z:??Y-??:*?,S*?/?ZY-SYSS???!*??Y*?,????5*??Y*?,????7*??Y*?,????9=*?,???*?,2N*`??6*?,*??2-???	????*d??6*?,*??2-???	?????*??6*??66*`??6??>*?;???Z:*?,2???*?,2???
?|Y??????*?5-?Y*?,2*?,2????W*?9-*?,2??W*?7-*?,2??W???=*?=?/*?=??N-???-????:???`=???*?Z?1=*?1?*?;???ZS*?=?X*?=??N-???E-????:??::?66?2:	*?1?	S??????**?;???Z?֙
?|Yط???????=??????????????????)??&??e???(??????????????????y????????	?+??4??H#$H?z????F????(?,?>?C?S?c?r?????????????????????????&?.?A?G?W?g?w??????????????????????????????!?+?.?N?`?r?x?z??????????????? &)=G???&?AZZ?6?#?>?1?????-Z?	?I???!?0??(	?????????~?5*?=?/*?=??M,???,????N-+???????? $??5#$5???$.03??????~?1*?;?o?*?;?od6?v,2:+*?u?Y*?5??S?DW*?9???:+*?u?Y*?7??SY*?9??S?HW?????4???-5I??g??i#$iJ?^?? ?&?4?F?L?Z?h?v????????????????????-?b?h??
&%?	???
?xKL~?M9*?;??:

???-
???Z:+(?T9??9???*?,:

?66?D
2:+*?u(?Y*?5??S?W
9??9????*?=?I*?=??:

???4
????:+(?Z9????9????z5[T&\??[T`4]??^T?"???#$?_`??T??T??T?aT?J??&?5?=?A?D?`??????????????????????C	??0??
P?A?P??7?b`~?f+???+?M*,?d??,?D*?D?e??,?=?
*?=?%,?=?
*?=??,?=*?=?f??,?;*?;?f? f#$fghXi$?6
??	????&?(?6?D?F?V?X??	?

jm~|,*?l<h*?;?m`<*?=?h*?=?m`<?,#$'n??????*???*??~?_??Y??p??*?u??r??*?;??t??*?D??*?=?	v???Y??x??*?=??????|?????_#$???{???z??





© 2015 - 2025 Weber Informatics LLC | Privacy Policy