*Pierre Alliez and Sylvain Pion*

This CGAL package provides functions to compute global informations 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.

*CGAL::barycenter*

*CGAL::bounding_box*

*CGAL::centroid*

*CGAL::linear_least_squares_fitting_2*

*CGAL::linear_least_squares_fitting_3*

barycenter |

bounding_box |

centroid |

linear_least_squares_fitting_2 |

linear_least_squares_fitting_3 |

CGAL Open Source Project.
Release 3.2.1.
13 July 2006.