3d surface triangulation of an open surface with CGAL

人走茶凉 提交于 2019-12-12 14:20:07

问题


I'm a newbie to CGAL library. However, I think it's a very suitable package for what I want to do. I have a set of points representing a 3D surface (as shown in figure 1). I want to fit a 3d triangulation on this surface. The surface is not closed and therefore does not occupy a volume. The code provided in poisson_reconstruction_example.cpp seems appropriate for this job. But the problem is that as a part of poisson_reconstruction algorithm it closes the ends and underneath of the surface to make it a volume (see figure2). I was wondering:

1- Is there a way to do the triangulation on the surface just defined by the points, without getting a closed surface which encloses a finite volume? This means that the final triangulation has boundary edges. I'm happy with any Upsampling or smoothing which may be needed.

2- If the answer to the first question is no, then, is there any way to guarantee that the input points are the vertices of the generated triangles?


回答1:


The poisson surface reconstruction generates a close surface that interpolates the point cloud given as input. It requires as input a point set with normals.

If you need a algorithm that only uses input points in the output, you can try the Advancing Front Surface Reconstruction algorithm.



来源:https://stackoverflow.com/questions/42074054/3d-surface-triangulation-of-an-open-surface-with-cgal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!