CGAL 5.5.2 - 2D and 3D Linear Geometry Kernel
|
CGAL::centroid()
Functions | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::barycenter (const CGAL::Point_2< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_2< Kernel > &p2) |
compute the barycenter of the points p1 and p2 with corresponding weights w1 and 1-w1 . | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::barycenter (const CGAL::Point_2< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_2< Kernel > &p2, const Kernel::FT &w2) |
compute the barycenter of the points p1 and p2 with corresponding weights w1 and w2 . More... | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::barycenter (const CGAL::Point_2< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_2< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_2< Kernel > &p3) |
compute the barycenter of the points p1 , p2 and p3 with corresponding weights w1 , w2 and 1-w1-w2 . | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::barycenter (const CGAL::Point_2< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_2< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_2< Kernel > &p3, const Kernel::FT &w3) |
compute the barycenter of the points p1 , p2 and p3 with corresponding weights w1 , w2 and w3 . More... | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::barycenter (const CGAL::Point_2< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_2< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_2< Kernel > &p3, const Kernel::FT &w3, const CGAL::Point_2< Kernel > &p4) |
compute the barycenter of the points p1 , p2 , p3 and p4 with corresponding weights w1 , w2 , w3 and 1-w1-w2-w3 . | |
template<typename Kernel > | |
CGAL::Point_2< Kernel > | CGAL::barycenter (const CGAL::Point_2< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_2< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_2< Kernel > &p3, const Kernel::FT &w3, const CGAL::Point_2< Kernel > &p4, const Kernel::FT &w4) |
compute the barycenter of the points p1 , p2 , p3 and p4 with corresponding weights w1 , w2 , w3 and w4 . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::barycenter (const CGAL::Point_3< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_3< Kernel > &p2) |
compute the barycenter of the points p1 and p2 with corresponding weights w1 and 1-w1 . | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::barycenter (const CGAL::Point_3< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_3< Kernel > &p2, const Kernel::FT &w2) |
compute the barycenter of the points p1 and p2 with corresponding weights w1 and w2 . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::barycenter (const CGAL::Point_3< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_3< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_3< Kernel > &p3) |
compute the barycenter of the points p1 , p2 and p3 with corresponding weights w1 , w2 and 1-w1-w2 . | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::barycenter (const CGAL::Point_3< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_3< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_3< Kernel > &p3, const Kernel::FT &w3) |
compute the barycenter of the points p1 , p2 and p3 with corresponding weights w1 , w2 and w3 . More... | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::barycenter (const CGAL::Point_3< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_3< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_3< Kernel > &p3, const Kernel::FT &w3, const CGAL::Point_3< Kernel > &p4) |
compute the barycenter of the points p1 , p2 , p3 and p4 with corresponding weights w1 , w2 , w3 and 1-w1-w2-w3 . | |
template<typename Kernel > | |
CGAL::Point_3< Kernel > | CGAL::barycenter (const CGAL::Point_3< Kernel > &p1, const Kernel::FT &w1, const CGAL::Point_3< Kernel > &p2, const Kernel::FT &w2, const CGAL::Point_3< Kernel > &p3, const Kernel::FT &w3, const CGAL::Point_3< Kernel > &p4, const Kernel::FT &w4) |
compute the barycenter of the points p1 , p2 , p3 and p4 with corresponding weights w1 , w2 , w3 and w4 . More... | |
CGAL::Point_2<Kernel> CGAL::barycenter | ( | const CGAL::Point_2< Kernel > & | p1, |
const Kernel::FT & | w1, | ||
const CGAL::Point_2< Kernel > & | p2, | ||
const Kernel::FT & | w2 | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the barycenter of the points p1
and p2
with corresponding weights w1
and w2
.
w1+w2 != 0
. CGAL::Point_2<Kernel> CGAL::barycenter | ( | const CGAL::Point_2< Kernel > & | p1, |
const Kernel::FT & | w1, | ||
const CGAL::Point_2< Kernel > & | p2, | ||
const Kernel::FT & | w2, | ||
const CGAL::Point_2< Kernel > & | p3, | ||
const Kernel::FT & | w3 | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the barycenter of the points p1
, p2
and p3
with corresponding weights w1
, w2
and w3
.
w1+w2+w3 != 0
. CGAL::Point_2<Kernel> CGAL::barycenter | ( | const CGAL::Point_2< Kernel > & | p1, |
const Kernel::FT & | w1, | ||
const CGAL::Point_2< Kernel > & | p2, | ||
const Kernel::FT & | w2, | ||
const CGAL::Point_2< Kernel > & | p3, | ||
const Kernel::FT & | w3, | ||
const CGAL::Point_2< Kernel > & | p4, | ||
const Kernel::FT & | w4 | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the barycenter of the points p1
, p2
, p3
and p4
with corresponding weights w1
, w2
, w3
and w4
.
w1+w2+w3+w4 != 0
. CGAL::Point_3<Kernel> CGAL::barycenter | ( | const CGAL::Point_3< Kernel > & | p1, |
const Kernel::FT & | w1, | ||
const CGAL::Point_3< Kernel > & | p2, | ||
const Kernel::FT & | w2 | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the barycenter of the points p1
and p2
with corresponding weights w1
and w2
.
w1+w2 != 0
. CGAL::Point_3<Kernel> CGAL::barycenter | ( | const CGAL::Point_3< Kernel > & | p1, |
const Kernel::FT & | w1, | ||
const CGAL::Point_3< Kernel > & | p2, | ||
const Kernel::FT & | w2, | ||
const CGAL::Point_3< Kernel > & | p3, | ||
const Kernel::FT & | w3 | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the barycenter of the points p1
, p2
and p3
with corresponding weights w1
, w2
and w3
.
w1+w2+w3 != 0
. CGAL::Point_3<Kernel> CGAL::barycenter | ( | const CGAL::Point_3< Kernel > & | p1, |
const Kernel::FT & | w1, | ||
const CGAL::Point_3< Kernel > & | p2, | ||
const Kernel::FT & | w2, | ||
const CGAL::Point_3< Kernel > & | p3, | ||
const Kernel::FT & | w3, | ||
const CGAL::Point_3< Kernel > & | p4, | ||
const Kernel::FT & | w4 | ||
) |
#include <CGAL/Kernel/global_functions.h>
compute the barycenter of the points p1
, p2
, p3
and p4
with corresponding weights w1
, w2
, w3
and w4
.
w1+w2+w3+w4 != 0
.