# Principal Component Analysis

*Reference Manual*

*Pierre Alliez and Sylvain Pion*

This CGAL package provides functions to compute global information
on the shape of a set of 2D or 3D objects such as points. It provides the computation of axis-aligned bounding boxes for point sets, centroids of point sets and triangle sets in 2D and 3D, barycenters of weighted point sets, as well as linear least squares fitting for point sets in 2D, and point sets and triangle sets in 3D. It assumes the set of kernel primitive elements to be stored into an iterator range of a container.

## 51.3 Classified Reference Pages

### Functions

*CGAL::barycenter*

*CGAL::bounding_box*

*CGAL::centroid*

*CGAL::linear_least_squares_fitting_2*

*CGAL::linear_least_squares_fitting_3*

## 51.4 Alphabetical List of Reference Pages