Skip to main content
Solved

Fix a minimum distance within a 2D point dataset

  • January 9, 2023
  • 4 replies
  • 18 views

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

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • 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
  • Author
  • 56 replies
  • January 9, 2023

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+31
  • Influencer
  • 627 replies
  • Best Answer
  • January 9, 2023

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
  • Author
  • 56 replies
  • January 9, 2023

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 !