Represents a node in a KD-Tree, a data structure for organizing points in a k-dimensional space.
The type of the items stored in the KD-Tree.
The number of dimensions for the tree.
A function that extracts a coordinate value for a specific dimension from a data item.
Retrieves all items within a specified radius around a query point in the KD-Tree.
Finds the k-nearest neighbors to a given query point within the KD-Tree.
Finds the nearest neighbor to the given query within the KD-Tree.
Inserts an item into the KD-Tree.
Removes a specified KDTreeNode from the KD-Tree.