Calculating the distance between 2 points
<p>I have two points. I want to know whether the points are within 5 metres of one another.
Please let me know an algorithm to achieve this.</p>

<p><strong>Edited:
How can I find the the points which are within the buffer of 5mts from my base point (X,Y)?.</strong></p>

<p>Thanks,
Kumar.</p>
