hampuseh Posted February 4, 2019 Share Posted February 4, 2019 (edited) Hello! I have a question regarding deleting points based of the proximity of specific groups. In the picture below there are two curves, group 1, group 2. The points marked red(group 2) are the points I want to remove by proximity to the group 1's points. Group is the curve in the middle going upwards. How would I do this? Thanks ! Edited February 4, 2019 by hampuseh Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted February 4, 2019 Share Posted February 4, 2019 //set your wranglenode to run over group2 int nearpt = nearpoint(0,"group1",@P,chf("radius")); if(nearpt != -1){ removepoint(0,@ptnum); } Quote Link to comment Share on other sites More sharing options...
hampuseh Posted February 4, 2019 Author Share Posted February 4, 2019 Quote Thanks for that! Much appreciated 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.