Library of Assembled Shared Sources
|
Parameters supplied to functions can go out of the range of the primitive. More...
#include <parameter_policy.h>
Parameters supplied to functions can go out of the range of the primitive.
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 131 of file parameter_policy.h.