Namespaces | Functions
saturate_cast.h File Reference
#include "datatype.h"

Go to the source code of this file.

Namespaces

 ecvl
 

Functions

template<DataType ODT, typename IDT >
TypeInfo< ODT >::basetype ecvl::saturate_cast (IDT v)
 Saturate a value (of any type) to the specified type. More...
 
template<typename ODT , typename IDT >
ODT ecvl::saturate_cast (const IDT &v)
 Saturate a value (of any type) to the specified type. More...