CGAL 4.6.3 - Scale-Space Surface Reconstruction
|
#include <CGAL/Scale_space_reconstruction_3/Weighted_PCA_approximation_3.h>
approximates a point set using a weighted least-squares plane.
The weighted least-squares planar approximation contains the barycenter of the points and is orthogonal to the eigenvector corresponding to the smallest eigenvalue.
Point are fitted to this approximation by projecting them orthogonally onto the weighted least-squares plane.
This class requires the eigenvector solvers of Eigen version 3.1.2 (or greater).
Kernel | the geometric traits class of the input and output. It must have a RealEmbeddable field number type. |