CGAL 5.1 - Number Types
CGAL::Root_of_traits< RT > Struct Template Reference

#include <CGAL/Root_of_traits.h>

Definition

template<typename RT>
struct CGAL::Root_of_traits< RT >

For a RealEmbeddable IntegralDomain RT, the class template Root_of_traits<RT> associates a type Root_of_2, which represents algebraic numbers of degree 2 over RT. Moreover, the class provides Root_of_1, which represents the quotient field of RT.

See also
RootOf_2
CGAL::compute_roots_of_2()
CGAL::make_root_of_2()

Types

typedef unspecified_type Root_of_1
 A RealEmbeddable Field representing the quotient field of RT. More...
 
typedef unspecified_type Root_of_2
 Model of RootOf_2. More...
 

Member Typedef Documentation

◆ Root_of_1

template<typename RT >
typedef unspecified_type CGAL::Root_of_traits< RT >::Root_of_1

A RealEmbeddable Field representing the quotient field of RT.

◆ Root_of_2

template<typename RT >
typedef unspecified_type CGAL::Root_of_traits< RT >::Root_of_2

Model of RootOf_2.