Concept

ApproximateMinEllipsoid_d_Traits_d

Definition

This concept defines the requirements for traits classes of CGAL::Approximate_min_ellipsoid_d<Traits>.

Refines

DefaultConstructible
CopyConstructible
Assignable

Types

ApproximateMinEllipsoid_d_Traits_d::FT
typedef double FT


ApproximateMinEllipsoid_d_Traits_d::ET
Some model of concept RingNumberType that provides exact arithmetic, meaning that 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. (An example for such a type is CGAL::MP_Float.).
The type ET is to be used by the Approximate_min_ellipsoid_d<Traits> class for internal, exact computations.


ApproximateMinEllipsoid_d_Traits_d::Point
Type of the input points. Point must provide the default and copy constructor, and must be a model of DefaultConstructible, CopyConstructible, and Assignable.


ApproximateMinEllipsoid_d_Traits_d::Cartesian_const_iterator
Model for the STL concept RandomAccessIterator whose value type must be convertible to double. This type is used to iterate over the Cartesian coordinates of an instance of type Point, see cartesian_begin() below.

Access Functions

int traits.dimension ( Point p) returns the dimension of a point p.

Cartesian_const_iterator traits.cartesian_begin ( Point p)
returns an input iterator over the Euclidean coordinates of the point p. The range of the iterator must have size dimension(p).

Has Models

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

See Also

CGAL::Min_ellipse_2<Traits>