\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.6.2 - Scale-Space Surface Reconstruction
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Weighted_PCA_approximation_3< Kernel > Class Template Reference

#include <CGAL/Scale_space_reconstruction_3/Weighted_PCA_approximation_3.h>

Definition

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).

Template Parameters
Kernelthe geometric traits class of the input and output. It must have a RealEmbeddable field number type.
Note
Irrespective of the geometric traits class, the approximation is always estimated up to double precision.
Is Model Of:
WeightedApproximation_3