Solved

Fix a minimum distance within a 2D point dataset


Badge

Hello,

I have a 2D set of points within which I want that no pair of points stay within a distance inferior to a threshold of my choice. The supplementary points have just to be deleted. How can I perform that?

 

Thank you in advance.

icon

Best answer by dustin 9 January 2023, 17:34

View original

4 replies

Userlevel 3
Badge +26

What do you want to happen with the points if they are within the threshold? Delete one? Move them apart?

Badge

What do you want to happen with the points if they are within the threshold? Delete one? Move them apart?

Just delete them.

Userlevel 3
Badge +26

What do you want to happen with the points if they are within the threshold? Delete one? Move them apart?

You can use the NeighborFinder with the Candidates Only option. Then set the Maximum Distance parameter to a published parameter. The points that fall outside the tolerance would be from the UnmatchedBase portimage

Badge

You can use the NeighborFinder with the Candidates Only option. Then set the Maximum Distance parameter to a published parameter. The points that fall outside the tolerance would be from the UnmatchedBase portimage

Works perfectly. Thank you !

Reply