CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines
AdaptableBinaryFunction
See also
CGAL::midpoint()

Operations

A model of this concept must provide:

Kernel::Point_3 operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q)
 computes the midpoint of the segment pq.
 
Kernel::Point_3 operator() (const Kernel::Segment_3 &s)
 computes the midpoint of the segment s.
 

Member Function Documentation

◆ operator()() [1/2]

Kernel::Point_3 Kernel::ConstructMidpoint_3::operator() ( const Kernel::Point_3 p,
const Kernel::Point_3 q 
)

computes the midpoint of the segment pq.

◆ operator()() [2/2]

Kernel::Point_3 Kernel::ConstructMidpoint_3::operator() ( const Kernel::Segment_3 s)

computes the midpoint of the segment s.