CGAL 5.1 - STL Extensions for CGAL
Projection Function Objects

Classes

struct  CGAL::Cast_function_object< Arg, Result >
 
class  CGAL::Compare_to_less< F >
 
struct  CGAL::Dereference< Value >
 
struct  CGAL::Get_address< Value >
 
struct  CGAL::Identity< Value >
 
struct  CGAL::Project_facet< Node >
 
struct  CGAL::Project_next< Node >
 
struct  CGAL::Project_next_opposite< Node >
 
struct  CGAL::Project_normal< Node >
 
struct  CGAL::Project_opposite_prev< Node >
 
struct  CGAL::Project_plane< Node >
 
struct  CGAL::Project_point< Node >
 
struct  CGAL::Project_prev< Node >
 
struct  CGAL::Project_vertex< Node >
 

Functions

template<class F >
Compare_to_less< F > CGAL::compare_to_less (const F &f)
 

Function Documentation

◆ compare_to_less()

template<class F >
Compare_to_less< F > CGAL::compare_to_less ( const F &  f)

#include <CGAL/function_objects.h>

Changes a functor returning a Comparison_result to one which returns a bool. The returned functor will return true iff the original one returns SMALLER.

See also
CGAL::Compare_to_less<F>

returns a functor equivalent to f, but which returns a bool instead of a Comparison_result.