Template Struct Clamp

Struct Documentation

template<typename Scalar>
struct Clamp

Public Functions

inline Clamp(const Scalar &min, const Scalar &max)
inline const Scalar operator()(const Scalar &x) const

Public Members

Scalar min_
Scalar max_