MOAB: Mesh Oriented datABase  (version 5.4.1)
moab::BVHTree::Split_comparator Class Reference

Public Member Functions

bool operator() (const SplitData &a, const SplitData &b) const

Private Types

typedef SplitData first_argument_type
typedef SplitData second_argument_type
typedef bool result_type

Private Member Functions

double objective (const SplitData &a) const

Detailed Description

Definition at line 172 of file BVHTree.hpp.

Member Typedef Documentation

Definition at line 175 of file BVHTree.hpp.

Definition at line 177 of file BVHTree.hpp.

Definition at line 176 of file BVHTree.hpp.

Member Function Documentation

double moab::BVHTree::Split_comparator::objective ( const SplitData a) const [inline, private]

Definition at line 179 of file BVHTree.hpp.

References moab::BVHTree::SplitData::Lmax, moab::BVHTree::SplitData::nl, moab::BVHTree::SplitData::nr, and moab::BVHTree::SplitData::Rmin.

Referenced by operator()().

            return a.Lmax * - a.Rmin *;
bool moab::BVHTree::Split_comparator::operator() ( const SplitData a,
const SplitData b 
) const [inline]

Definition at line 185 of file BVHTree.hpp.

References objective().

            return objective( a ) < objective( b );

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