CGAL 6.2 - Quadtrees, Octrees, and Orthtrees

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Orthtrees::Maximum_depth Class Reference
Reference Manual » Split Predicates

`#include <CGAL/Orthtree/Split_predicates.h>`

## Definition

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.