CGAL::Random_convex_set_traits_2<Kernel>

Definition

The class Random_convex_set_traits_2<Kernel>serves as a traits class for the function random_convex_set_2.

#include <CGAL/Random_convex_set_traits_2.h>

Is Model for the Concepts

RandomConvexSetTraits_2

Types

typedef Kernel::Point_2 Point_2;
typedef Kernel::FT FT;
Random_convex_set_traits_2<Kernel>::Sum
function object class derived from std::binary_function<Point_2, Point_2, Point_2>


Random_convex_set_traits_2<Kernel>::Scale
function object class derived from std::binary_function<Point_2, Point_2, Point_2>


Random_convex_set_traits_2<Kernel>::Max_coordinate
function object class derived from std::unary_function<Point_2, FT>


Random_convex_set_traits_2<Kernel>::Angle_less
function object class derived from std::binary_function<Point_2, Point_2, bool>

Creation

Random_convex_set_traits_2<Kernel> t;
default constructor

Operations

Point_2 t.origin () const returns CGAL::ORIGIN.