CGAL 5.1 - 2D and 3D Linear Geometry Kernel

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with two arguments)
See also
CGAL::midpoint()

Operations

A model of this concept must provide:

Kernel::Point_2 operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q)
 computes the midpoint of the segment pq. More...
 

Member Function Documentation

◆ operator()()

Kernel::Point_2 Kernel::ConstructMidpoint_2::operator() ( const Kernel::Point_2 p,
const Kernel::Point_2 q 
)

computes the midpoint of the segment pq.