# function for detecting proximity of points

Hi

Is there a function available that will indicate if a set of coordinates is within a proximity of another set of coordinates?

I have a straight line and i want to detect if that is close to another line's coordinates or the edge of a circle.

Thanks in advance

Steve