CGAL::jet_estimate_normals() estimates normal directions of all points from the input set by fitting jet surfaces over the k nearest neighbors. The default jet surface is a quadric, and the result is an unoriented normal vector for each input point.
The output of the normal estimation 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 normal fields and are more time consuming. For point sets with limited noise this value can be set to small number such as 18. For noisy point sets this value must be increased.
#include <CGAL/jet_estimate_normals.h>
| ||||||||
|
| |||||||
Estimates normal directions of the [first, beyond) range of points using jet fitting on the k nearest neighbors. The output normals are randomly oriented.
|
CGAL::pca_estimate_normals
CGAL::mst_orient_normals
See normal_estimation.cpp example.