class Crystalline::Containers::KDTree(T)
- Crystalline::Containers::KDTree(T)
- Reference
- Object
Defined in:
containers/kd_tree.crConstructors
Instance Method Summary
- #build_tree(points : Array(Tuple(T, Array(T))), depth = 0)
-
#find_nearest(target : Array(T), k_nearest : Int32)
Find k closest points to given coordinates
Constructor Detail
Instance Method Detail
Find k closest points to given coordinates