MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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 |
Definition at line 172 of file BVHTree.hpp.
typedef SplitData moab::BVHTree::Split_comparator::first_argument_type [private] |
Definition at line 175 of file BVHTree.hpp.
typedef bool moab::BVHTree::Split_comparator::result_type [private] |
Definition at line 177 of file BVHTree.hpp.
typedef SplitData moab::BVHTree::Split_comparator::second_argument_type [private] |
Definition at line 176 of file BVHTree.hpp.
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.nl - a.Rmin * a.nr;
}
bool moab::BVHTree::Split_comparator::operator() | ( | const SplitData & | a, |
const SplitData & | b | ||
) | const [inline] |
Definition at line 185 of file BVHTree.hpp.
References objective().