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

前端 未结 3 751
北海茫月
北海茫月 2021-01-02 03:35

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 li

3条回答
  •  误落风尘
    2021-01-02 03:50

    Use a kd-tree.

    http://en.wikipedia.org/wiki/Kd-tree

    The article provides a good explanation.

    I can clear up any further misunderstandings.

提交回复
热议问题