I am storing points (xi,yi) in a boost rtree and then query for a point (xq,yq), which point (xi,yi) is the nearest:
#include #include