cgal/Packages/Kernel_23/doc_tex/kernel/Ref/centroid.tex

30 lines
919 B
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_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$.}
\end{ccRefFunction}