Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Quadtree Algorithm

Computational Geometry Algorithm

A quadtree is a tree data structure in which every internal node has exactly four children, used to recursively partition two-dimensional space into four quadrants or regions. Raphael Finkel and Jon Louis Bentley coined the name and formally described the structure in 1974, building on similar subdivision ideas that had appeared earlier in other contexts. A quadtree recursively subdivides a region into four smaller regions whenever the data within it exceeds some capacity, so that its directory structure directly mirrors the spatial decomposition of the area it represents; this makes quadtrees useful for image representation, spatial indexing, point location and range queries, collision detection, terrain culling in games, sparse data storage and other applications where data density varies sharply across a two-dimensional area.

Facts
Time Complexity
Time Complexity (category)
Logarithmic Time -- O(log n) 1
Sources
1. Quadtree (Wikipedia)
Wikipedia article body, read for Browse By backfill (w-bbfill-computing6-0927)
NIST Dictionary of Algorithms and Data Structures: quadtree
NIST Dictionary of Algorithms and Data StructuresIn Group: Spatial Index Structures, Definition
Quote, In Group: Spatial Index Structures, Definition
A tree where each node is split along all d dimensions, leading to 2 d children.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.