我或多或少地复制了
this CGAL example
,主要是除了
PMP::smooth_mesh(mesh, PMP::parameters::number_of_iterations(nb_iterations)
.use_safety_constraints(false)
.edge_is_constrained_map(eif));
我将基于区域的平滑设置为false,因为我没有
谷神星
库:
PMP::smooth_mesh(mesh,
PMP::parameters::number_of_iterations(niters)
.use_area_smoothing(false)
.use_Delaunay_flips(false)
.use_safety_constraints(false)
.edge_is_constrained_map(eif));
但是,在尝试我的代码时,会抛出以下消息:
基于区域的平滑需要Ceres库,而不是
可获得的将不进行此类平滑处理!
我一开始就不明白
use_area_smoothing(false)
.如何告诉CGAL我不想要基于区域的平滑?