Logo Search packages:      
Sourcecode: inkscape version File versions

template<class T>
const T & Geom::between ( const T &  min,
const T &  max,
const T &  x 
) [inline]

Between function - returns true if a number x is within a range. The values delimiting the range and the number must have the same type.

Definition at line 56 of file utils.h.

    { return min < x && max > x; }

Generated by  Doxygen 1.6.0   Back to index