CGAL::jet_smooth_point_set() smooths a point set by fitting for each point a jet surface and projecting it onto the jet. The default jet surface is a quadric.
The output of the smoothing algorithm highly depends on the k parameter. The number of neighbors controls the size of the point subset considered for jet fitting at each input point. As this parameter is application-specific we do not provide any default value. Larger values lead to smoother point sets and are more time consuming. For point sets with limited noise this value can be set to small number such as 24. For noisy point sets this value must be increased.
#include <CGAL/jet_smooth_point_set.h>
| ||||||||
|
| |||||||
Smoothes the [first, beyond) range of points using jet fitting on the k nearest neighbors and reprojection onto the jet. As this method relocates the points, it should not be called on containers sorted w.r.t. point locations.
|
See jet_smoothing_example.cpp.