#include <DGtal/geometry/volumes/BoundedRationalPolytope.h>
Public Member Functions | |
Rational (Integer a, Integer b) |
Data Fields | |
Integer | p |
Integer | q |
A simple class to represent a rational value p/q, where p and q are integers.
Definition at line 131 of file BoundedRationalPolytope.h.
|
inline |
Constructor
a | the numerator of the rational |
b | the denominator of the rational |
Definition at line 137 of file BoundedRationalPolytope.h.
Integer DGtal::BoundedRationalPolytope< TSpace >::Rational::p |
Definition at line 132 of file BoundedRationalPolytope.h.
Referenced by Rational().
Integer DGtal::BoundedRationalPolytope< TSpace >::Rational::q |
Definition at line 133 of file BoundedRationalPolytope.h.
Referenced by Rational().