CGAL 5.1 - 2D and 3D Linear Geometry Kernel
|
CGAL::barycenter()
Functions | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::centroid (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const CGAL::Point_2< Kernel > &r) |
compute the centroid of the points p , q , and r . More... | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::centroid (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const CGAL::Point_2< Kernel > &r, const CGAL::Point_2< Kernel > &s) |
compute the centroid of the points p , q , r , and s . More... | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::centroid (const CGAL::Triangle_2< Kernel > &t) |
compute the centroid of the triangle t . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::centroid (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r) |
compute the centroid of the points p , q , and r . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::centroid (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const CGAL::Point_3< Kernel > &s) |
compute the centroid of the points p , q , r , and s . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::centroid (const CGAL::Triangle_3< Kernel > &t) |
compute the centroid of the triangle t . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::centroid (const CGAL::Tetrahedron_3< Kernel > &t) |
compute the centroid of the tetrahedron t . More... | |
CGAL::Point_2<Kernel> CGAL::centroid | ( | const CGAL::Point_2< Kernel > & | p, |
const CGAL::Point_2< Kernel > & | q, | ||
const CGAL::Point_2< Kernel > & | r | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the points p
, q
, and r
.
CGAL::Point_2<Kernel> CGAL::centroid | ( | const CGAL::Point_2< Kernel > & | p, |
const CGAL::Point_2< Kernel > & | q, | ||
const CGAL::Point_2< Kernel > & | r, | ||
const CGAL::Point_2< Kernel > & | s | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the points p
, q
, r
, and s
.
CGAL::Point_3<Kernel> CGAL::centroid | ( | const CGAL::Point_3< Kernel > & | p, |
const CGAL::Point_3< Kernel > & | q, | ||
const CGAL::Point_3< Kernel > & | r | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the points p
, q
, and r
.
CGAL::Point_3<Kernel> CGAL::centroid | ( | const CGAL::Point_3< Kernel > & | p, |
const CGAL::Point_3< Kernel > & | q, | ||
const CGAL::Point_3< Kernel > & | r, | ||
const CGAL::Point_3< Kernel > & | s | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the points p
, q
, r
, and s
.
CGAL::Point_3<Kernel> CGAL::centroid | ( | const CGAL::Tetrahedron_3< Kernel > & | t | ) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the tetrahedron t
.
CGAL::Point_2<Kernel> CGAL::centroid | ( | const CGAL::Triangle_2< Kernel > & | t | ) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the triangle t
.
CGAL::Point_3<Kernel> CGAL::centroid | ( | const CGAL::Triangle_3< Kernel > & | t | ) |
#include <CGAL/Kernel/global_functions.h>
compute the centroid of the triangle t
.