2 Sep
2021
2 Sep
'21
7:41 p.m.
W dniu 01.09.2021 o 17:06, Glenn, Rachel M via Boost-users pisze:
I have a question about 3D RTree spatial queries, like a cube, sphere, or something. Are there any examples of how that can be done? I know how to do it for 2D RTree. Do you recommend the regular RTREE or a is there another one to use, like an rstar, that would be better?
Assuming you're asking about Boost.Geometry, you just have to use 3D point type, the rest is the same as for 2D: https://github.com/boostorg/geometry/blob/develop/index/example/3d_benchmark... Adam