I just started to play with Spatial Index, and quickly found a bug in "index/detail/rtree/visitors/spatial_query.hpp" line 62

out_iter = *it; // wrong!

*out_iter = *it; // ok

And my question is: is there a way to query the points within a distance from a certain point?

For example, there are many circles which all have radius r, scattering in the space, and given a position, how could I determine which circle it's in?

...the nearest predicate doesn't have a distance limit, and I don't want to recompute the distance, any idea?

Thanks