Text this: The mathematical approach for proximity analysis for 3D GIS