mirror of https://github.com/CGAL/cgal
26 lines
396 B
C++
26 lines
396 B
C++
|
|
/*!
|
|
\ingroup PkgKernelDKernelConcept
|
|
\cgalConcept
|
|
|
|
*/
|
|
|
|
class Kernel_d::Midpoint_d {
|
|
public:
|
|
|
|
/// \name Operations
|
|
/// A model of this concept must provide:
|
|
/// @{
|
|
|
|
/*!
|
|
computes the midpoint of the segment
|
|
\f$ pq\f$.\pre `p` and `q` have the same dimension.
|
|
*/
|
|
Kernel_d::Point_d operator()(const Kernel_d::Point_d&
|
|
p, const Kernel_d::Point_d& q);
|
|
|
|
/// @}
|
|
|
|
}; /* end Kernel_d::Midpoint_d */
|
|
|