richard_mcd_green Posted 19 hours ago Share Posted 19 hours ago I'm using pointclouds in a pop wrangle, and my understanding of the pcsize function is that it returns the amount of points in a pointcloud. However, in my pcopen, I have the maxpoints set to 5. pc = pcopen(0,'P',@P,sRadius,5); Despite this, pcsize(pc) always returns 1000 (the total amount of points in my sim). if I do a pciterate while loop with a counter, that returns the correct amount of points in the radius however, so I know the point cloud is respecting the maxpoints parameter to some extent. Is this expected behaviour, if so, what is the purpose of the pcsize function? Quote Link to comment Share on other sites More sharing options...
tamagochy Posted 19 hours ago Share Posted 19 hours ago (edited) pcopen works on all cloud, in pcfilter it take only first 5 points to average attribute. If you need just 5 points numbers you can use nearpoints function Edited 19 hours ago by tamagochy 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.