MOAB: Mesh Oriented datABase  (version 5.4.1)
TypeElemOverlapTest Class Reference
+ Inheritance diagram for TypeElemOverlapTest:
+ Collaboration diagram for TypeElemOverlapTest:

Public Member Functions

 TypeElemOverlapTest (bool(*f)(const CartVect *, const CartVect &, const CartVect &))
bool operator() (const CartVect *coords, const CartVect &box_center, const CartVect &box_dims) const

Public Attributes

bool(* func )(const CartVect *, const CartVect &, const CartVect &)

Detailed Description

Definition at line 121 of file GeomUtilTests.cpp.


Constructor & Destructor Documentation

TypeElemOverlapTest::TypeElemOverlapTest ( bool(*)(const CartVect *, const CartVect &, const CartVect &)  f) [inline]

Definition at line 125 of file GeomUtilTests.cpp.

: func( f ) {}

Member Function Documentation

bool TypeElemOverlapTest::operator() ( const CartVect coords,
const CartVect box_center,
const CartVect box_dims 
) const [inline, virtual]

Implements ElemOverlapTest.

Definition at line 126 of file GeomUtilTests.cpp.

    {
        return ( *func )( coords, box_center, box_dims );
    }

Member Data Documentation

bool( * TypeElemOverlapTest::func)(const CartVect *, const CartVect &, const CartVect &)

Definition at line 124 of file GeomUtilTests.cpp.

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines