Jackson Campolattaro, Simon Giraudot, Cédric Portaneri, Tong Zhao, and Pierre Alliez
The Orthtree package provides a data structure that subdivides space, with specializations for 2D (Quadtree) and 3D (Octree), along with a collection of algorithms for operating on these structures.
Concepts
Classes
Traits
Split Predicates
Traversal
|
template<typename GeomTraits , typename PointRange , typename PointMap = Identity_property_map<typename std::iterator_traits<typename PointRange::iterator>::value_type>, bool cubic_nodes = false> |
using | CGAL::Octree = Orthtree< Orthtree_traits_point< GeomTraits, PointRange, PointMap, cubic_nodes, 3 > > |
| Alias that specializes the Orthtree class to a 3D octree storing 3D points.
|
|
template<typename GeomTraits , typename PointRange , typename PointMap = Identity_property_map <typename std::iterator_traits<typename PointRange::iterator>::value_type>, bool squared_nodes = false> |
using | CGAL::Quadtree = Orthtree< Orthtree_traits_point< GeomTraits, PointRange, PointMap, squared_nodes, 2 > > |
| Alias that specializes the Orthtree class to a 2D quadtree storing 2D points.
|
|
◆ Octree
template<typename GeomTraits , typename PointRange , typename PointMap = Identity_property_map<typename std::iterator_traits<typename PointRange::iterator>::value_type>, bool cubic_nodes = false>
#include <CGAL/Octree.h>
Alias that specializes the Orthtree
class to a 3D octree storing 3D points.
- Template Parameters
-
GeomTraits | a model of Kernel |
PointRange | a model of Range whose value type is the key type of PointMap |
PointMap | a model of ReadablePropertyMap whose value type is GeomTraits::Point_3 |
cubic_nodes | Boolean to enforce cubic nodes |
◆ Quadtree
template<typename GeomTraits , typename PointRange , typename PointMap = Identity_property_map <typename std::iterator_traits<typename PointRange::iterator>::value_type>, bool squared_nodes = false>
#include <CGAL/Quadtree.h>
Alias that specializes the Orthtree
class to a 2D quadtree storing 2D points.
- Template Parameters
-
GeomTraits | must be a model of Kernel |
PointRange | must be a model of Range whose value type is the key type of PointMap |
PointMap | must be a model of ReadablePropertyMap whose value type is GeomTraits::Point_2 |
square_nodes | Boolean to enforce square nodes |