I've got a point cloud and for each pt, I want to find the distance of the nearest pt. I was using the nearpoint function but I found out it always found the currently processed point to be the closest point.
What would be a simple way to exclude the processed point from the nearpoint search?