mirror of https://github.com/CGAL/cgal
27 lines
616 B
C++
27 lines
616 B
C++
|
|
/*!
|
|
* \ingroup PkgOctreeConcepts
|
|
* \cgalConcept
|
|
*
|
|
* \brief A SplitCriterion is a functor which determines whether an octree node needs to be split during refinement.
|
|
*
|
|
* This can also be done by a function pointer, or a lambda.
|
|
*/
|
|
struct SplitCriterion {
|
|
|
|
/// \name Operators
|
|
/// @{
|
|
|
|
/*!
|
|
* \brief determines whether a node needs to be split based on a const reference to the node
|
|
*
|
|
* \tparam Node
|
|
* \param n const reference to the node
|
|
* \return whether or not the node needs to be split (true for yes)
|
|
*/
|
|
template<class Node>
|
|
bool operator()(const Node &n) const {}
|
|
|
|
/// @}
|
|
};
|