Image Component Library (ICL)
Namespaces | Functions
ClippedCast.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <limits>

Go to the source code of this file.

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::utils
 

Functions

template<class T >
icl::utils::clip (T tX, T tMin, T tMax)
 clips a value into the range [tMin,tMax] More...
 
template<class T >
bool icl::utils::is_float_type ()
 
template<class S , class D >
icl::utils::clipped_cast (S src)
 utility cast function wrapping the standard lib's numerical_limits template More...