cgal/Old_Packages/Doc23/doc_tex/kernel/Ref/centroid.tex

30 lines
829 B
TeX

\begin{ccRefFunction}{centroid}
\ccFunction{Point_2<R>
centroid( const Point_2<R>& p,
const Point_2<R>& q,
const Point_2<R>& r);}
{compute the centroid of the points $p$, $q$, and $r$.}
\ccFunction{Point_2<R>
centroid( const Point_2<R>& p,
const Point_2<R>& q,
const Point_2<R>& r,
const Point_2<R>& s);}
{compute the centroid of the points $p$, $q$, $r$, and $s$.}
\ccFunction{Point_3<R>
centroid( const Point_3<R>& p,
const Point_3<R>& q,
const Point_3<R>& r);}
{compute the centroid of the points $p$, $q$, and $r$.}
\ccFunction{Point_3<R>
centroid( const Point_3<R>& p,
const Point_3<R>& q,
const Point_3<R>& r,
const Point_3<R>& s);}
{compute the centroid of the points $p$, $q$, $r$, and $s$.}
\end{ccRefFunction}