Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

math::Clamp2Lower< T > Struct Template Reference

clamp a given type to a lower bound More...

#include <utils.hpp>

Inheritance diagram for math::Clamp2Lower< T >:

Inheritance graph
[legend]
Collaboration diagram for math::Clamp2Lower< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Clamp2Lower (const T &_lb=Traits< T >::zero())
operator() (const T &x) const
operator() (const T &x, const T &_lb)

Detailed Description

template<typename T>
struct math::Clamp2Lower< T >

clamp a given type to a lower bound

Definition at line 45 of file utils.hpp.


Constructor & Destructor Documentation

template<typename T>
math::Clamp2Lower< T >::Clamp2Lower const T &  _lb = Traits<T>::zero()  )  [inline]
 

Definition at line 47 of file utils.hpp.


Member Function Documentation

template<typename T>
T math::Clamp2Lower< T >::operator() const T &  x,
const T &  _lb
[inline]
 

Definition at line 49 of file utils.hpp.

template<typename T>
T math::Clamp2Lower< T >::operator() const T &  x  )  const [inline]
 

Definition at line 48 of file utils.hpp.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 2 11:33:28 2003 for math by doxygen 1.3.2