\begin{ccRefFunction}{midpoint}
\ccInclude{CGAL/basic_constructions_2.h}

\ccFunction{Point_2<R> midpoint( const Point_2<R>& p,
                                           const Point_2<R>& q );}
 {computes the midpoint of the segment $pq$.}

\ccInclude{CGAL/basic_constructions_3.h}

\ccFunction{Point_3<R> midpoint( const Point_3<R>& p, const Point_3<R>& q );}
 {computes the midpoint of the segment $pq$.}
\end{ccRefFunction}

