FreePOOMA  2.4.1
Public Member Functions | Public Attributes
IntersectorTag< Inter > Struct Template Reference

ExpressionApply<IntersectorTag<Intersector> > More...

#include <IntersectEngine.h>

List of all members.

Public Member Functions

 IntersectorTag (Inter &i)

Public Attributes

Inter & intersector_m

Detailed Description

template<class Inter>
struct IntersectorTag< Inter >

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.)


Constructor & Destructor Documentation

template<class Inter >
IntersectorTag< Inter >::IntersectorTag ( Inter &  i) [inline]

Member Data Documentation

template<class Inter >
Inter& IntersectorTag< Inter >::intersector_m

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