Here's the stuff we found when you searched for "distance function"

If you Log in you could create a "distance function" node. If you don't already have an account, you can register here.