From geometry to graphs and back: Geometric range searching and algorithms in structured graphs