which data structure is appropriate to query “all points within distance d from point p”

前端 未结 6 1302
余生分开走
余生分开走 2020-12-08 11:53

I have a 3D pointcloud and I\'d like to efficiently query all points within distance d from an arbitrary point p (which is not necessarily part of the stored pointcloud)

6条回答
  •  攒了一身酷
    2020-12-08 12:15

    Have a look at A Template for the Nearest Neighbor Problem (Larry Andrews at DDJ). Its only 2D, having a retrival complexity of O(log n), but it might be adopted for 3D as well.

提交回复
热议问题