Back to Documentations

Signature Description Public Member Functions
template<typename T>
class   KDTree;
KDTree (k-dimensional tree) is a space-partitioning data structure, an extension of binary search trees, used to organize points in a k-dimensional space for efficient searching, especially for nearest neighbor and range queries, by recursively splitting the space along different dimensions at each level. It's highly effective for finding nearby points or data within a specific area in multi-dimensional datasets, commonly used in computer graphics, databases, and machine learning for spatial indexing.

T: KDTree data type
KDTree Header File



KDTree Test File



C++ DataFrame