CGAL 5.4  2D and 3D Linear Geometry Kernel

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