Package: Geometry        GrAL: Packages | Concepts | Homepage

GrAL::clamper< Q > Struct Template Reference
[Componentwise rounding array operations]

Operator class for componentwise clamping. More...

#include </home/guntram/tmp/GrAL/geometry/include/Geometry/array-operations.h>

List of all members.

Public Member Functions

 clamper (Q const &lw, Q const &hi)
template<class T >
operator() (T const &rhs) const
 Clamp rhs to the interval [low,high].
template<class RES , class T >
RES operator() (T const &rhs) const
 Clamp rhs to the interval [low,high], force result type RES.

Public Attributes

low
high


Detailed Description

template<class Q>
struct GrAL::clamper< Q >

Operator class for componentwise clamping.

Definition at line 545 of file array-operations.h.


The documentation for this struct was generated from the following file:

©  Guntram Berti 1997-2009. See the GrAL Homepage for up-to-date information.

Generated on Tue Mar 31 18:53:58 2009 for Geometry by doxygen 1.5.8