## CGAL::Optimisation_d_traits_2<K,ET,NT>

### Definition

The class Optimisation_d_traits_2<K,ET,NT> is a traits class for the d-dimensional optimisation algorithms using the two-dimensional CGAL kernel.

#include <CGAL/Optimisation_d_traits_2.h>

### Requirements

The template parameter K is a model for Kernel. Template parameters ET and NT are models for RingNumberType.

The second and third template parameter have default type K::RT.

### Is Model for the Concept

OptimisationDTraits

### Types

Optimisation_d_traits_2<K,ET,NT>::Point_d
| typedef to K::Point_2.
Optimisation_d_traits_2<K,ET,NT>::Rep_tag
| typedef to K::Rep_tag.
Optimisation_d_traits_2<K,ET,NT>::RT
| typedef to K::RT.
Optimisation_d_traits_2<K,ET,NT>::FT
| typedef to K::FT.
Optimisation_d_traits_2<K,ET,NT>::Access_dimension_d
| typedef to K::Access_dimension_2.
Optimisation_d_traits_2<K,ET,NT>::Access_coordinates_begin_d
| typedef to K::Access_coordinates_begin_2.
Optimisation_d_traits_2<K,ET,NT>::Construct_point_d
| typedef to K::Construct_point_2.
Optimisation_d_traits_2<K,ET,NT>::ET
| second template parameter (default is K::RT).
Optimisation_d_traits_2<K,ET,NT>::NT
| third template parameter (default is K::RT).

### Creation

Optimisation_d_traits_2<K,ET,NT> traits;
| default constructor.

Optimisation_d_traits_2<K,ET,NT> traits ( | Optimisation_d_traits_2<K,ET,NT>);

| copy constructor.

### Operations

The following functions just return the corresponding function class object.

Access_dimension_d | traits.access_dimension_d_object ()
Access_coordinates_begin_d
| traits.access_coordinates_begin_d_object ()
Construct_point_d | traits.construct_point_d_object ()

### See Also

CGAL::Min_sphere_d<Traits>
CGAL::Min_annulus_d<Traits>
CGAL::Polytope_distance_d<Traits>
CGAL::Optimisation_d_traits_3<K,ET,NT>
CGAL::Optimisation_d_traits_d<K,ET,NT>
OptimisationDTraits