Check if two points are near