使用CGAL进行泊松重建会发送异常

时间:2014-12-11 16:10:45

标签: c++ cgal poisson

我使用CGAL使用定向的3d点重建曲面。 我的代码与CGAL's example提供的代码相同,因为我给出了最大三角形大小的绝对值。

CGAL::Surface_mesh_default_criteria_3<CGAL::STr> criteria(sm_angle, 
                                                            0.3, sm_distance*average_spacing);    

不幸的是,我经常从CGAL获得以下异常:

terminate called after throwing an instance of 'CGAL::Assertion_exception'
what():  CGAL ERROR: assertion violation!
File: /usr/local/include/CGAL/Surface_mesher/Surface_mesher.h
Line: 249
Explanation: (2.23808 -3.04214 42.305) is already inserted on surface.

我无法找到导致此异常的原因:我的点云没有冗余点,也没有那么吵。 有没有人知道什么可能导致这种行为?谢谢

0 个答案:

没有答案
相关问题