DGtal 1.3.0
|
#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 134 of file BoundedRationalPolytope.h.
|
inline |
Constructor
a | the numerator of the rational |
b | the denominator of the rational |
Definition at line 140 of file BoundedRationalPolytope.h.
Integer DGtal::BoundedRationalPolytope< TSpace >::Rational::p |
Definition at line 135 of file BoundedRationalPolytope.h.
Integer DGtal::BoundedRationalPolytope< TSpace >::Rational::q |
Definition at line 136 of file BoundedRationalPolytope.h.