CGAL 5.2  2D and 3D Linear Geometry Kernel

AdaptableFunctor
(with three arguments)CGAL::Weighted_point_3<Kernel>
ComputePowerProduct_3
for the definition of power distance. Operations  
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 .  