How can I test if a point lies within a 3d shape with its surface defined by a point cloud?

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-06-16T14:27:45Z Indexed on 2010/06/16 19:52 UTC
Read the original article Hit count: 265

Hi

I have a collection of points which describe the surface of a shape that should be roughly spherical, and I need a method with which to determine if any other given point lies within this shape. I've previously been approximating the shape as an exact sphere, but this has proven too inaccurate and I need a more accurate method. Simplicity and speed is favourable over complete accuracy, a good approximation will suffice.

I've come across techniques for converting a point cloud to a 3d mesh, but most things I have found have been very complicated, and I am looking for something as simple as possible.

Any ideas?

Many thanks, Ben.

© Stack Overflow or respective owner

Related posts about c

    Related posts about algorithm