CGAL 5.1 - Geometric Object Generators
CGAL::Random_convex_set_traits_2< Kernel > Struct Template Reference

#include <CGAL/Random_convex_set_traits_2.h>

Definition

template<typename Kernel>
struct CGAL::Random_convex_set_traits_2< Kernel >

The class Random_convex_set_traits_2 serves as a traits class for the function random_convex_set_2().

Is Model Of:
RandomConvexSetTraits_2

Types

typedef Kernel::Point_2 Point_2
 
typedef Kernel::FT FT
 
typedef unspecified_type Sum
 function object class derived from CGAL::cpp98::binary_function<Point_2, Point_2, Point_2> More...
 
typedef unspecified_type Scale
 function object class derived from CGAL::cpp98::binary_function<Point_2, Point_2, Point_2> More...
 
typedef unspecified_type Max_coordinate
 function object class derived from CGAL::cpp98::unary_function<Point_2, FT> More...
 
typedef unspecified_type Angle_less
 function object class derived from CGAL::cpp98::binary_function<Point_2, Point_2, bool> More...
 

Creation

 Random_convex_set_traits_2 ()
 default constructor More...
 

Operations

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

Member Typedef Documentation

◆ Angle_less

template<typename Kernel >
typedef unspecified_type CGAL::Random_convex_set_traits_2< Kernel >::Angle_less

function object class derived from CGAL::cpp98::binary_function<Point_2, Point_2, bool>

◆ FT

template<typename Kernel >
typedef Kernel::FT CGAL::Random_convex_set_traits_2< Kernel >::FT

◆ Max_coordinate

template<typename Kernel >
typedef unspecified_type CGAL::Random_convex_set_traits_2< Kernel >::Max_coordinate

function object class derived from CGAL::cpp98::unary_function<Point_2, FT>

◆ Point_2

template<typename Kernel >
typedef Kernel::Point_2 CGAL::Random_convex_set_traits_2< Kernel >::Point_2

◆ Scale

template<typename Kernel >
typedef unspecified_type CGAL::Random_convex_set_traits_2< Kernel >::Scale

function object class derived from CGAL::cpp98::binary_function<Point_2, Point_2, Point_2>

◆ Sum

template<typename Kernel >
typedef unspecified_type CGAL::Random_convex_set_traits_2< Kernel >::Sum

function object class derived from CGAL::cpp98::binary_function<Point_2, Point_2, Point_2>

Constructor & Destructor Documentation

◆ Random_convex_set_traits_2()

default constructor

Member Function Documentation

◆ origin()

template<typename Kernel >
Point_2 CGAL::Random_convex_set_traits_2< Kernel >::origin ( ) const

returns CGAL::ORIGIN.