Skip to main content
Solved

Fix a minimum distance within a 2D point dataset


Forum|alt.badge.img

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.

Best answer by dustin

dustin wrote:

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

View original
Did this help you find an answer to your question?

4 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • January 9, 2023

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


Forum|alt.badge.img
dustin wrote:

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

Just delete them.


dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • Best Answer
  • January 9, 2023
dustin wrote:

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


Forum|alt.badge.img
dustin wrote:

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 !


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings