mirror of https://github.com/CGAL/cgal
45 lines
1.3 KiB
TeX
45 lines
1.3 KiB
TeX
\begin{ccRefFunction}{centroid}
|
|
|
|
\ccFunction{Point_2<Kernel>
|
|
centroid( const Point_2<Kernel>& p,
|
|
const Point_2<Kernel>& q,
|
|
const Point_2<Kernel>& r);}
|
|
{compute the centroid of the points $p$, $q$, and $r$.}
|
|
|
|
\ccFunction{Point_2<Kernel>
|
|
centroid( const Point_2<Kernel>& p,
|
|
const Point_2<Kernel>& q,
|
|
const Point_2<Kernel>& r,
|
|
const Point_2<Kernel>& s);}
|
|
{compute the centroid of the points $p$, $q$, $r$, and $s$.}
|
|
|
|
\ccFunction{Point_2<Kernel>
|
|
centroid( const Triangle_2<Kernel>& t);}
|
|
{compute the centroid of the triangle $t$.}
|
|
|
|
\ccFunction{Point_3<Kernel>
|
|
centroid( const Point_3<Kernel>& p,
|
|
const Point_3<Kernel>& q,
|
|
const Point_3<Kernel>& r);}
|
|
{compute the centroid of the points $p$, $q$, and $r$.}
|
|
|
|
\ccFunction{Point_3<Kernel>
|
|
centroid( const Point_3<Kernel>& p,
|
|
const Point_3<Kernel>& q,
|
|
const Point_3<Kernel>& r,
|
|
const Point_3<Kernel>& s);}
|
|
{compute the centroid of the points $p$, $q$, $r$, and $s$.}
|
|
|
|
\ccFunction{Point_3<Kernel>
|
|
centroid( const Triangle_3<Kernel>& t);}
|
|
{compute the centroid of the triangle $t$.}
|
|
|
|
\ccFunction{Point_3<Kernel>
|
|
centroid( const Tetrahedron_3<Kernel>& t);}
|
|
{compute the centroid of the tetrahedron $t$.}
|
|
|
|
\ccSeeAlso
|
|
\ccRefIdfierPage{CGAL::barycenter}
|
|
|
|
\end{ccRefFunction}
|