CGAL 5.5.2  Algebraic Foundations

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.
Types  
typedef unspecified_type  Type 
The associated type.  
typedef unspecified_type  Is_fraction 
Tag indicating whether the associated type is a fraction and can be decomposed into a numerator and denominator. More...  
typedef unspecified_type  Numerator_type 
The type to represent the numerator. More...  
typedef unspecified_type  Denominator_type 
The (simpler) type to represent the denominator. More...  
Functors  
In case  
typedef unspecified_type  Compose 
A model of FractionTraits_::Compose.  
typedef unspecified_type  Decompose 
A model of FractionTraits_::Decompose.  
typedef unspecified_type  Common_factor 
A model of FractionTraits_::CommonFactor.  
The (simpler) type to represent the denominator.
This is undefined in case the associated type is not a fraction.
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.