CGAL 6.0 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches
Kernel::ConstructMidpoint_2 Concept Reference

Definition

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.
 
Kernel::Point_2 operator() (const Kernel::Segment_2 &s)
 computes the midpoint of the segment s.
 

#include <Concepts/FunctionObjectConcepts.h>

Definition

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.
 
Kernel::Point_2 operator() (const Kernel::Segment_2 &s)
 computes the midpoint of the segment s.