So I saw this nice 2D Range and Neighbor Search I alsow saw dD Range and Segment Trees yet I can not understand how to perform a 3D Range and Neighbor Search on a 3D point set. Generaly I want to query some points container for an array of points that are in distance R
from some given point P
. (Remark: why I do not want to do it manually - such search can be CPU/GPU/SSE optimized and I would like to use tested reliable efficient library in favour of my own)
Asked
Active
Viewed 617 times
0

DuckQueen
- 772
- 10
- 62
- 134
1 Answers
2
The example Example for Range Tree on Set-like Data is the example for the 2D-case. Turn the _2 into _3 in the typedefs and you have the 3D case.

lrineau
- 6,036
- 3
- 34
- 47