fastquadtree 1.1.1__cp38-abi3-win_amd64.whl → 1.1.2__cp38-abi3-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fastquadtree might be problematic. Click here for more details.
- fastquadtree/_native.pyd +0 -0
- fastquadtree/pyqtree.py +6 -0
- {fastquadtree-1.1.1.dist-info → fastquadtree-1.1.2.dist-info}/METADATA +1 -1
- {fastquadtree-1.1.1.dist-info → fastquadtree-1.1.2.dist-info}/RECORD +6 -6
- {fastquadtree-1.1.1.dist-info → fastquadtree-1.1.2.dist-info}/WHEEL +0 -0
- {fastquadtree-1.1.1.dist-info → fastquadtree-1.1.2.dist-info}/licenses/LICENSE +0 -0
fastquadtree/_native.pyd
CHANGED
|
Binary file
|
fastquadtree/pyqtree.py
CHANGED
|
@@ -122,6 +122,9 @@ class Index:
|
|
|
122
122
|
- **item**: The item to insert into the index, which will be returned by the intersection method
|
|
123
123
|
- **bbox**: The spatial bounding box tuple of the item, with four members (xmin,ymin,xmax,ymax)
|
|
124
124
|
"""
|
|
125
|
+
if type(bbox) is list: # Handle list input
|
|
126
|
+
bbox = tuple(bbox)
|
|
127
|
+
|
|
125
128
|
if self._free:
|
|
126
129
|
rid = self._free.pop()
|
|
127
130
|
self._objects[rid] = item
|
|
@@ -141,6 +144,9 @@ class Index:
|
|
|
141
144
|
|
|
142
145
|
Both parameters need to exactly match the parameters provided to the insert method.
|
|
143
146
|
"""
|
|
147
|
+
if type(bbox) is list: # Handle list input
|
|
148
|
+
bbox = tuple(bbox)
|
|
149
|
+
|
|
144
150
|
rid = self._item_to_id.pop(id(item))
|
|
145
151
|
self._qt.delete(rid, bbox)
|
|
146
152
|
self._objects[rid] = None
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
fastquadtree-1.1.
|
|
2
|
-
fastquadtree-1.1.
|
|
3
|
-
fastquadtree-1.1.
|
|
1
|
+
fastquadtree-1.1.2.dist-info/METADATA,sha256=mPP31H09vKMmFuIrg3SE2JLeV5IS6st-fQYRfjqYzww,9659
|
|
2
|
+
fastquadtree-1.1.2.dist-info/WHEEL,sha256=CG8OzNtm0LMpJ2zhrjswlO8N-965OeMLklsQAG-nMvQ,94
|
|
3
|
+
fastquadtree-1.1.2.dist-info/licenses/LICENSE,sha256=46IVFhoCIwMo-ocq4olyEB1eBvvtaKic5yGLeKXnDuc,1092
|
|
4
4
|
fastquadtree/__init__.py,sha256=jy7uimnd7QDllmNOgnRByKom1aONIKOWhCvCJxndsnM,200
|
|
5
5
|
fastquadtree/_base_quadtree.py,sha256=wICOB-CHpneZ00OvPZzQpoUGKVvTRhLScnFxMY4i9Do,10205
|
|
6
6
|
fastquadtree/_item.py,sha256=42sGn--Bcq8NrgNBcoKzJClJjjAHK6ntesyf31qz5yM,1741
|
|
7
|
-
fastquadtree/_native.pyd,sha256=
|
|
7
|
+
fastquadtree/_native.pyd,sha256=WGOvUWIzb3MkR5JysZHD2n5qvwuEdazYmh11ibTFoxw,303104
|
|
8
8
|
fastquadtree/_obj_store.py,sha256=NVBGB8XsSiWFzoBgeVE2ScSuL7K9nXaggsp6nXqSGyc,5434
|
|
9
9
|
fastquadtree/point_quadtree.py,sha256=v_iNQZfLOPDKwTwIPMMinSfRCn1im3P0gWEsOnK6qpY,5327
|
|
10
10
|
fastquadtree/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
fastquadtree/pyqtree.py,sha256=
|
|
11
|
+
fastquadtree/pyqtree.py,sha256=Evu-MKHKrs_xNVWChukD4hJLyIc-u7iuQ4hA_zvJtu4,6246
|
|
12
12
|
fastquadtree/rect_quadtree.py,sha256=ZrOj5dNVg4B2lhuKZ9EMOoYeQNbD3Vbz8S3TxCVCj_c,3109
|
|
13
|
-
fastquadtree-1.1.
|
|
13
|
+
fastquadtree-1.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|