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

#include <Concepts/FunctionObjectConcepts.h>

Definition

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

Operations

A model of this concept must provide:

Comparison_result operator() (const Kernel::Point_3 &p, const Kernel::Weighted_point_3 &q, const Kernel::Weighted_point_3 &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_3::operator() ( const Kernel::Point_3 p,
const Kernel::Weighted_point_3 q,
const Kernel::Weighted_point_3 r 
)

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