Access Distance

I have the need to collect the distance between two points in order to use that information (distance) to drive the radius of a circle.  What would be the best node to acquire (access) the minimal distance between two points for input of the generation of a circle.

 

Thank you.

Jerry