library of assembled shared sources

http://lass.cocamware.com

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

Parameters supplied to functions can go out of the range of the primitive. More...

#include <parameter_policy.h>


Static Public Member Functions

template<typename T >
static void enforceRange (const T &, const T &, const T &)
template<typename T >
static void enforceRange (const T &, const T &)


Detailed Description

Parameters supplied to functions can go out of 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 also negative values for t will be accepted by functions of the ray, as long as no other conditions are broken. However, it is no longer garanteed that results make sense. i.e. with this policy, Ray3D<>::point will also return a point for t < 0, but it won't be a point of the ray. Though, it can be a usefull policy if we need to be able to get points beyond the origin of the ray.

Definition at line 132 of file parameter_policy.h.


Member Function Documentation

template<typename T >
static void lass::prim::Unbounded::enforceRange ( const T &  ,
const T &  ,
const T &   
) [inline, static]

Definition at line 135 of file parameter_policy.h.

template<typename T >
static void lass::prim::Unbounded::enforceRange ( const T &  ,
const T &   
) [inline, static]

Definition at line 140 of file parameter_policy.h.


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