Page 1 of 1

Select Points inside a cylinder

Posted: Tue Aug 10, 2021 12:37 pm
by Gilles
Hello everyone,

is it possible with CloudCompare to crop a Digital Surface Model with a 3D cylinder in intersection?
I have a point cloud in .Las format (my Digital Surface Model) and a 3D cylinder composed of facets in .Ply format and I would like to extract the DSM points just contained in my cylinder.

Is there an option to perform this action?

Thank you in advance for your help.

Re: Select Points inside a cylinder

Posted: Thu Aug 12, 2021 8:10 pm
by daniel
Yes, you just need to compute the distances between the point cloud and the cylinder (mesh). See https://www.cloudcompare.org/doc/wiki/i ... h_Distance

Then you can select the points with negative distances (should be inside the cylinder) with https://www.cloudcompare.org/doc/wiki/i ... r_by_Value

Re: Select Points inside a cylinder

Posted: Tue Aug 17, 2021 7:48 am
by Gilles
Thank you very much for your answer.

This is exactly what I needed and it works great.