\( \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.8 - Principal Component Analysis

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
CGAL Namespace Reference

## Functions
template<typename InputIterator >
Deduced | barycenter (InputIterator first, InputIterator beyond)
| computes the barycenter of a non-empty set of 2D or 3D weighted points. More...
template<typename InputIterator , typename K >
Deduced | barycenter (InputIterator first, InputIterator beyond, const K &k)
| computes the barycenter of a non-empty set of 2D or 3D weighted points. More...
template<typename InputIterator , typename Tag >
Deduced | centroid (InputIterator first, InputIterator beyond, const Tag &t)
| computes the centroid of a non-empty set of 2D or 3D objects. More...
template<typename InputIterator , typename K , typename Tag >
Deduced | centroid (InputIterator first, InputIterator beyond, const K &k, const Tag &t)
| computes the centroid of a non-empty set of 2D or 3D objects. More...
template<typename InputIterator , typename K , typename Tag , typename DiagonalizeTraits_ >
K::FT | linear_least_squares_fitting_2 (InputIterator first, InputIterator beyond, typename K::Line_2 &line, typename K::Point_2 &centroid, const Tag &tag, const K &k, const DiagonalizeTraits_ &diagonalize_traits)
| computes the best fitting 2D line of a 2D object set in the range [`first`,`beyond`). More...
template<typename InputIterator >
Deduced | bounding_box (InputIterator first, InputIterator beyond)
| The function `bounding_box()` computes the axis-aligned bounding box of a set of 2D or 3D points. More...
template<typename InputIterator , typename K >
Deduced | bounding_box (InputIterator first, InputIterator beyond, const K &k)
| computes the bounding box of a non-empty set of 2D or 3D points. More...
template<typename InputIterator , typename K , typename Tag , typename DiagonalizeTraits_ >
K::FT | linear_least_squares_fitting_3 (InputIterator first, InputIterator beyond, typename K::Line_3 &line, typename K::Point_3 &centroid, const Tag &tag, const K &k, const DiagonalizeTraits_ &diagonalize_traits)
| The function `linear_least_squares_fitting_3()` computes the best fitting 3D line or plane (in the least squares sense) of a set of 3D objects such as points, segments, triangles, spheres, balls, iso cuboids or tetrahedra. More...
template<typename InputIterator , typename K , typename Tag , typename DiagonalizeTraits_ >
K::FT | linear_least_squares_fitting_3 (InputIterator first, InputIterator beyond, typename K::Plane_3 &plane, typename K::Point_3 &centroid, const Tag &tag, const K &k, const DiagonalizeTraits_ &diagonalize_traits)
| computes the best fitting 3D plane of a 3D object set in the range [`first`,`beyond`). More...