Foundations of Multidimensional and Metric Data Structures (The Morgan Kaufmann Series in Computer Graphics)