library of assembled shared sources

http://lass.cocamware.com

lass::prim::Bounded Struct Reference
[ParameterPolicy]

Parameters supplied to functions must be in the range of the primitive. More...

#include <parameter_policy.h>


Static Public Member Functions

template<class T >
static void enforceRange (const T &iT, const T &iMin, const T &iMax)
template<class T >
static void enforceRange (const T &iT, const T &iMin)


Detailed Description

Parameters supplied to functions must be in the range of the primitive.

Author:
Bram de Greve [BdG]
Date:
2003
An example: of a ray (origin + t * direction), only values t >= 0 are points of the ray. Here all parameters t supplied to functions of the ray must be positive. If not, an exception is thrown.

Definition at line 95 of file parameter_policy.h.


Member Function Documentation

template<class T >
static void lass::prim::Bounded::enforceRange ( const T &  iT,
const T &  iMin,
const T &  iMax 
) [inline, static]

Definition at line 98 of file parameter_policy.h.

References LASS_THROW_EX.

template<class T >
static void lass::prim::Bounded::enforceRange ( const T &  iT,
const T &  iMin 
) [inline, static]

Definition at line 108 of file parameter_policy.h.

References LASS_THROW_EX.


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

Generated on Mon Nov 10 14:22:13 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo