cgal/Kernel_d/doc_tex/Kernel_d_ref/midpoint.tex

10 lines
275 B
TeX

\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}