Links for distance-functions