Euclidean distance
The straight-line distance between 2 points.
Example
Between (0, 0) and (3, 4) the euclidean distance is 5.
Test yourself: Euclidean distance
Quadtrees
Why isn't computing the distance to every point enough?
10 million points are 10 million calculations per search.
0/1
â–¶ Play