Point kd-tree

Back to Data structures

A point kd-tree is a tree data-structure for storing a finite set of points such that nearest neighbors can be found efficiently.

Traversal of the subdivision using cursors

The nodes of the kd-tree are traversed using cursors. From each node you can traverse either to a parent (if it exists) or to left or right child (if they exist). At each node you can inspect:

Features

Illustration

The image below illustrates the multi-level kd-tree in .

See also

Nearest neighbors in semi-dynamic point sets

Learn more

Files

Equivalance of point kd-trees

Maximum depth of a kd-tree

Point kd-tree

Point kd-tree concepts

Point kd-tree cursor

Point kd-tree invariants

Point kd-tree node

Testing for PointKdTree

Types for the point kd-tree