CGAL 5.1 - STL Extensions for CGAL
CGAL::Creator_uniform_d< Arg, Result > Class Template Reference

#include <CGAL/function_objects.h>

Definition

template<typename Arg, typename Result>
class CGAL::Creator_uniform_d< Arg, Result >

The class Creator_uniform_d defines types and operations for creating objects from two arguments of the same type.

Template Parameters
Resultmust define a constructor from three arguments: one d dimension and two Arg arguments.

Requirements

typedef Arg argument_type
 type of arguments. More...
 
typedef Result result_type
 type of object to create. More...
 
result_type operator() (argument_type a1, argument_type a2) const
 returns result_type(d, a1, a2). More...
 

Member Typedef Documentation

◆ argument_type

template<typename Arg , typename Result >
typedef Arg CGAL::Creator_uniform_d< Arg, Result >::argument_type

type of arguments.

◆ result_type

template<typename Arg , typename Result >
typedef Result CGAL::Creator_uniform_d< Arg, Result >::result_type

type of object to create.

Member Function Documentation

◆ operator()()

template<typename Arg , typename Result >
result_type CGAL::Creator_uniform_d< Arg, Result >::operator() ( argument_type  a1,
argument_type  a2 
) const

returns result_type(d, a1, a2).