Checking if Two Points are in the Same Position

Scripts on this page are available here:

PointsInSamePosition.js

The example script PointsInSamePosition.js shows how to check if two points are in the same position, with a tolerance.