point selection inside a sphere at x,y,z and radius r

Feel free to ask any question here
Post Reply
cuatcside
Posts: 9
Joined: Tue Aug 08, 2017 4:57 pm

point selection inside a sphere at x,y,z and radius r

Post by cuatcside »

is it possible to select/segment out all the points within a sphere centered at x,y,z and radius r?
Thanks.
Last edited by cuatcside on Sat Aug 24, 2019 12:14 am, edited 1 time in total.
cuatcside
Posts: 9
Joined: Tue Aug 08, 2017 4:57 pm

Re: point selectioninside a sphere at x,y,z and radius r

Post by cuatcside »

or is it possible to develop a plugin that reads a csv file with x,y,z,r values for multiple spheres and segment out the pointcloud with points inside those spheres..
Thanks.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: point selection inside a sphere at x,y,z and radius r

Post by daniel »

Well you can always develop a plugin.

But you can achieve that by computing the distance from the point cloud (as 'compared' entity) to another point cloud with all the spheres centers (as 'reference' entity). Then you can filter out the points that are below the distance 'r' (the radius) with 'Edit > Scalar fields > Filter by value'.
Daniel, CloudCompare admin
Post Reply