The class Rational_traits<NT> can be used to determine the type of the numerator and denominator of a rational number type as Quotient, Gmpq, mpq_class or leda_rational.
#include <CGAL/Rational_traits.h>
Rational_traits<NT>::RT | |
the type of the numerator and denominator.
|