FreePOOMA
2.4.1
|
ExpressionApply<IntersectorTag<Intersector> > More...
#include <IntersectEngine.h>
Public Member Functions | |
IntersectorTag (Inter &i) | |
Public Attributes | |
Inter & | intersector_m |
ExpressionApply<IntersectorTag<Intersector> >
IntersectEngine is simple wrapper that is used to apply intersector objects to engines. It contains a reference to the intersector object and for engines with multiple patches it should hand the engine back to the intersector. Typical use would look something like:
IntersectEngine<Intersector> ie(intersector); engineFunctor(eng, ie);
This level of indirection allows us to short-circut intersection for trivial engines and scalars, and the use of engineFunctor automatically deals with expression engines.
The return value for intersection is a boolean that is currently unused. (The result of the intersection is stored in the intersector object.)
IntersectorTag< Inter >::IntersectorTag | ( | Inter & | i | ) | [inline] |
Inter& IntersectorTag< Inter >::intersector_m |