Popular recipes tagged "kdtree"http://code.activestate.com/recipes/tags/kdtree/popular/2015-09-29T16:56:16-07:00ActiveState Code RecipesSimple Python Point KD Tree (No scipy/numpy needed) (Python)
2015-09-29T16:56:16-07:00webby1111http://code.activestate.com/recipes/users/4192908/http://code.activestate.com/recipes/579104-simple-python-point-kd-tree-no-scipynumpy-needed/
<p style="color: grey">
Python
recipe 579104
by <a href="/recipes/users/4192908/">webby1111</a>
(<a href="/recipes/tags/geometry/">geometry</a>, <a href="/recipes/tags/kdtree/">kdtree</a>).
</p>
<p>A very simple and concise KD-tree for points in python.</p>
<p>For labeled points, you may want to check out my other recipe:
<a href="https://code.activestate.com/recipes/579103-python-addset-attributes-to-list/?in=user-4192908">Python add/set attributes to list</a></p>