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