CGAL 5.1 - 2D and 3D Linear Geometry Kernel
Kernel::ComparePowerDistance_2 Class Reference

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with three arguments)
See also
CGAL::Weighted_point_2<Kernel>
ComputePowerProduct_2 for the definition of power distance.

Operations

A model of this concept must provide:

Comparison_result operator() (const Kernel::Point_2 &p, const Kernel::Weighted_point_2 &q, const Kernel::Weighted_point_2 &r)
 compares the power distance between p and q to the power distance between p and r. More...
 

Member Function Documentation

◆ operator()()

Comparison_result Kernel::ComparePowerDistance_2::operator() ( const Kernel::Point_2 p,
const Kernel::Weighted_point_2 q,
const Kernel::Weighted_point_2 r 
)

compares the power distance between p and q to the power distance between p and r.