CGAL 5.6  2D and 3D Linear Geometry Kernel

AdaptableTernaryFunction
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 .  