Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Functions
ClippedCast.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  icl
 

The ICL-namespace.


namespace  icl::utils

Functions

template<class T >
icl::utils::clip (T tX, T tMin, T tMax)
 clips a value into the range [tMin,tMax]
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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines