#include <CGAL/Octree/Traversal.h>
walker for preorder traversal
- Examples
- Octree/Octree_traversal_preorder.cpp.
|
| template<class Point_index > |
| const Node< Point_index > * | first (const Node< Point_index > *root) const |
| | retrieve the first node of a tree in a preorder traversal, given the root More...
|
| |
| template<class Point_index > |
| const Node< Point_index > * | next (const Node< Point_index > *n) const |
| | retrieve the next node of a tree in a preorder traversal, given the current one More...
|
| |
◆ first()
template<class Point_index >
| const Node<Point_index>* CGAL::Octree::Traversal::Preorder::first |
( |
const Node< Point_index > * |
root | ) |
const |
retrieve the first node of a tree in a preorder traversal, given the root
- Template Parameters
-
- Parameters
-
- Returns
◆ next()
template<class Point_index >
| const Node<Point_index>* CGAL::Octree::Traversal::Preorder::next |
( |
const Node< Point_index > * |
n | ) |
const |
retrieve the next node of a tree in a preorder traversal, given the current one
- Template Parameters
-
- Parameters
-
- Returns