CGAL 5.3 - Quadtrees, Octrees, and Orthtrees
CGAL::Orthtrees::Maximum_depth Class Reference

#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 Node >
bool operator() (const Node &n) const
 returns true if n should be split, false otherwise.