Page 1 of 1

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

Posted: Fri Aug 23, 2019 9:28 pm
by cuatcside
is it possible to select/segment out all the points within a sphere centered at x,y,z and radius r?
Thanks.

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

Posted: Sat Aug 24, 2019 12:13 am
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.

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

Posted: Sat Aug 24, 2019 9:04 pm
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'.