CGAL 5.3  2D and 3D Linear Geometry Kernel

AdaptableFunctor
(with three arguments)Operations  
bool  operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r) 
returns true iff the distance of q to p is smaller than the distance of r to p .  