DGtal
1.5.beta
|
Binary functor that returns the algebraic quotient i of a/b with any fractional part discarded (truncation toward zero).
Note that \( |i| \leq |a/b| \).
More...
#include <DGtal/geometry/curves/ArithmeticalDSSConvexHull.h>
Public Member Functions | |
Integer | operator() (const Integer &a, const Integer &b) const |
Binary functor that returns the algebraic quotient i of a/b with any fractional part discarded (truncation toward zero).
Note that \( |i| \leq |a/b| \).
(For a truncation toward negative infinity, see IntegerComputer::floorDiv)
Integer | a model of integer used to store a and b |
Definition at line 101 of file ArithmeticalDSSConvexHull.h.
|
inline |
a | numerator |
b | denominator |
Definition at line 112 of file ArithmeticalDSSConvexHull.h.