> IIUC, Giovanni is not looking for one number, i.e. minimum of all the > distances between points in a map, but rather for the distance from each > point in a map to the closest other point in the same map. Please correct me > if I'm wrong. Right. I'll patch your diff and try it. Thanks!