Jump to content
Masoud

How can I find all points near each point, in a certain radius?

Recommended Posts

Hi guys,

I need to find all points, near each point, in a certain radius. So I tried these codes:
 

int np[] = nearpoints(0, @P, chf("Max_Radius"));
i@NearPoints = len(np);

 

Is there any simpler function for this situation?

 

Thanks for helping.

Find_Near_Points.jpg

Find Near Points_01.hip

Share this post


Link to post
Share on other sites

Hi,

nearpoints is a wrapper function which is calling pcfind so it's the simplest way AFAIK.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×