KDTree.build
- KDTree.build(objects, axis=0)[source]
Populate a kd-tree with given objects.
- Parameters
objects (list) – The tree objects.
axis (int, optional) – The axis along which to build.
- Returns
Node – The root node.
Populate a kd-tree with given objects.
objects (list) – The tree objects.
axis (int, optional) – The axis along which to build.
Node – The root node.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev