CGAL::Approximate_min_ellipsoid_d_traits_2<K,ET>

Definition

The class Approximate_min_ellipsoid_d_traits_2<K,ET> is a traits class for CGAL::Approximate_min_ellipsoid_d<Traits> using the 2-dimensional CGAL kernel. In order to use this class, an exact number-type ET has to be provided which Approximate_min_ellipsoid_d<Traits> will use for its internal exact computations.

#include <CGAL/Approximate_min_ellipsoid_d_traits_2.h>

Requirements

The template parameter K must be a model for concept Kernel. The template parameter ET must be a model for concept RingNumberType with exact arithmetic operations, i.e., the type CGAL::Number_type_traits<ET>::Has_exact_ring_operations must be CGAL::Tag_true. In addition, ET must be able to exactly represent any finite double value. (Examples of such a number-type are CGAL::MP_Float, CORE::Expr, and CGAL::Gmpq.)

Is Model for the Concepts

ApproximateMinEllipsoid_d_Traits_d

Types

Approximate_min_ellipsoid_d_traits_2<K,ET>::FT
typedef double FT. The kernel's number type K::RT must be convertible to double.


Approximate_min_ellipsoid_d_traits_2<K,ET>::ET
typedef to the second template argument, ET.


Approximate_min_ellipsoid_d_traits_2<K,ET>::Point
typedef K::Point_2 Point


Approximate_min_ellipsoid_d_traits_2<K,ET>::Cartesian_const_iterator
typedef K::Cartesian_const_iterator_2 Cartesian_const_iterator

See Also

CGAL::Approximate_min_ellipsoid_d_traits_3<K,ET>
CGAL::Approximate_min_ellipsoid_d_traits_d<K,ET>
ApproximateMinEllipsoid_d_Traits_d