\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13.1 - dD Geometry Kernel
Kernel_d::Midpoint_d Concept Reference

Definition

Operations

A model of this concept must provide:

Kernel_d::Point_d operator() (const Kernel_d::Point_d &p, const Kernel_d::Point_d &q)
 computes the midpoint of the segment \( pq\). More...
 

Member Function Documentation

◆ operator()()

Kernel_d::Point_d Kernel_d::Midpoint_d::operator() ( const Kernel_d::Point_d p,
const Kernel_d::Point_d q 
)

computes the midpoint of the segment \( pq\).

Precondition
p and q have the same dimension.