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

\ccFunction{Point_d<R> midpoint(const Point_d<R>& p, const Point_d<R>&
  q);}{computes the midpoint of the segment $pq$.  \ccPrecond
  \ccPrecond{\ccc{p.dimension() == q.dimension()}.}}

\end{ccRefFunction}

