Boost logo

Geometry :

Subject: [geometry] [Spatial Index] bug & question
From: TONGARI (tongari95_at_[hidden])
Date: 2013-06-16 13:14:48


Hi,

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



Geometry list run by mateusz at loskot.net