CGAL 5.6.3 - Quadtrees, Octrees, and Orthtrees

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Orthtrees::Maximum_depth Class Reference
Quadtree\, Octree and Orthtree Reference » Classes » 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 Node >
bool | operator() (const Node &n) const
| returns `true` if `n` should be split, `false` otherwise.