Page 1 of 1

Number of neighbors

Posted: Tue Feb 22, 2022 9:29 am
by westergu
Hi,
I don't know if this topic has been discussed previously, but I have a question about the tool Geometric features|Number of neighbors. It seems that the algorithm never outputs value 0 in the scalar field. In cases where the search distance is less than the distance to the closest points, one would assume that that particular point would have no neighbor. Or Is it so that every point include itself as a neighbor? Or have I understand the algorithm completely wrong?

Best regards,
Gustav

Re: Number of neighbors

Posted: Tue Feb 22, 2022 9:44 am
by daniel
Hi,

Yes, you are correct, the 'number of neighbors' includes the point itself (since it's used to compute local density, a value of '0' would be weird).

Re: Number of neighbors

Posted: Tue Feb 22, 2022 10:20 am
by westergu
Thank you for fast reply!