Masoud Posted July 3, 2021 Share Posted July 3, 2021 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_01.hip Quote Link to comment Share on other sites More sharing options...
animatrix Posted July 3, 2021 Share Posted July 3, 2021 Hi, nearpoints is a wrapper function which is calling pcfind so it's the simplest way AFAIK. Quote Link to comment Share on other sites More sharing options...
eikonoklastes Posted July 9, 2021 Share Posted July 9, 2021 You can do this with the Distance From Geometry Node, and then use a simple Group Expression that says group points whose distance from the target is within the specified number. Distance From Geometry.hiplc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.