CGAL 6.0.1 - Quadtrees, Octrees, and Orthtrees
Loading...
Searching...
No Matches
CGAL::Orthtrees::Level_traversal< Tree > Struct Template Reference

#include <CGAL/Orthtree/Traversals.h>

Definition

template<typename Tree>
struct CGAL::Orthtrees::Level_traversal< Tree >

A class used for performing a traversal of a specific depth level.

Template Parameters
Treean instance of Orthtree

All tree nodes at another depth are ignored. If the selected depth is higher than the maximum depth of the orthtree, no node will be traversed.

Is model of
OrthtreeTraversal

Public Member Functions

 Level_traversal (const Tree &orthtree, std::size_t depth)
 constructs a depth-level traversal.