CGAL 6.0.1 - Quadtrees, Octrees, and Orthtrees
|
#include <CGAL/Orthtree/Split_predicates.h>
A class used to choose when a node should be split depending on the depth.
This predicate makes a node be split if its depth is lower than a certain limit.
Public Member Functions | |
Maximum_depth (std::size_t max_depth) | |
creates a maximum depth predicate. | |
template<typename GeomTraits > | |
bool | operator() (typename Orthtree< GeomTraits >::Node_index i, const Orthtree< GeomTraits > &tree) const |
returns true if the node with index i should be split, false otherwise. | |