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