Jump to content

pcsize not working as expected


Recommended Posts

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...