CGAL 4.12  Principal Component Analysis

CGAL::barycenter()
CGAL::bounding_box()
CGAL::centroid()
CGAL::linear_least_squares_fitting_2()
CGAL::linear_least_squares_fitting_3()
Modules  
CGAL::barycenter()  
The function barycenter() computes the barycenter (weighted center of mass) of a set of 2D or 3D weighted points.  
CGAL::bounding_box()  
CGAL::centroid()  
The function centroid() computes the (uniform) center of mass of a set of 2D or 3D bounded objects.  
CGAL::linear_least_square_fitting_2()  
CGAL::linear_least_square_fitting_3()  