CGAL 5.1 - Octree
SplitCriterion Struct Reference

#include <Concepts/SplitCriterion.h>

Definition

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.

Operators

template<class Node >
bool operator() (const Node &n) const
 determines whether a node needs to be split based on a const reference to the node More...
 

Member Function Documentation

◆ operator()()

template<class Node >
bool SplitCriterion::operator() ( const Node &  n) const

determines whether a node needs to be split based on a const reference to the node

Template Parameters
Node
Parameters
nconst reference to the node
Returns
whether or not the node needs to be split (true for yes)