A model of FractionTraits is associated with a type Type.
In case the associated type is a Fraction, a model of FractionTraits provides the relevant functionality for decomposing and recomposing as well as the numerator and denominator type.
#include <CGAL/Fraction_traits.h>
 
the associated type
 
 
Tag indicating whether the associated type is a fraction and can be
decomposed into a numerator and denominator. This is either CGAL::Tag_true or CGAL::Tag_false.
 
 
The type to represent the numerator.
This is undefined in case the associated type is not a fraction.
 
 
The (simpler) type to represent the denominator.
This is undefined in case the associated type is not a fraction.

In case Type is not a Fraction all functors are Null_functor.
 
A model of FractionTraits::Decompose.
 
 
A model of FractionTraits::Compose.
 
 
A model of FractionTraits::CommonFactor.
