CGAL 6.2 - Optimal Distances: CGAL::Polytope_distance_d_traits_2< K, ET, NT > Class Template Reference

CGAL 6.2 - Optimal Distances

Loading...
Searching...
No Matches
List of all members
CGAL::Polytope_distance_d_traits_2< K, ET, NT > Class Template Reference
Reference Manual

`#include <CGAL/Polytope_distance_d_traits_2.h>`

## Definition

template<typename K, typename ET, typename NT>
class CGAL::Polytope_distance_d_traits_2< K, ET, NT >

The class `Polytope_distance_d_traits_2` is a traits class for the \( d\)-dimensional optimization algorithms using the two-dimensional CGAL kernel.

Template Parameters

  K | must be a model for `Kernel`.
  ET | must be models for `RingNumberType`. The default is `K::RT`.
  NT | must be models for `RingNumberType`. The default is `K::RT`.

Is model of
  `PolytopeDistanceDTraits`

See also
  `CGAL::Polytope_distance_d<Traits>`
  `CGAL::Polytope_distance_d_traits_3<K,ET,NT>`
  `CGAL::Polytope_distance_d_traits_d<K,ET,NT>`
  `PolytopeDistanceDTraits`

## Types
typedef K::Point_2 | Point_d
| the point type.
typedef unspecified_type | Rep_tag
| typedef to `K::Rep_tag`.
typedef K::RT | RT
| the ring type.
typedef K::FT | FT
| the field type.
typedef unspecified_type | Access_dimension_d
| functor returning `2`.
typedef unspecified_type | Access_coordinates_begin_d
| functor constructing the begin iterator of the homogeneous coordinates of a point.
typedef unspecified_type | Construct_point_d
| functor constructing a point from a coordinate range.
typedef unspecified_type | ET
| second template parameter (default is `K::RT`).
typedef unspecified_type | NT
| third template parameter (default is `K::RT`).

## Creation
| Polytope_distance_d_traits_2 ()
| default constructor.
| Polytope_distance_d_traits_2 (const Polytope_distance_d_traits_2< K, ET, NT > &)
| copy constructor.

## Operations
The following functions just return the corresponding function class object.
Access_dimension_d | access_dimension_d_object () const
Access_coordinates_begin_d | access_coordinates_begin_d_object () const
Construct_point_d | construct_point_d_object () const