\begin{ccRefFunction}{midpoint} \ccInclude{CGAL/constructions_d.h} \ccFunction{Point_d midpoint(const Point_d& p, const Point_d& q);}{computes the midpoint of the segment $pq$. \ccPrecond \ccPrecond \ccc{p.dimension() == q.dimension()}.} \end{ccRefFunction}