\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.2 - dD Spatial Searching
CGAL::Kd_tree_leaf_node< TreeTraits, Splitter, UseExtendedNode > Class Template Reference

#include <CGAL/Kd_tree_node.h>

Inherits from

CGAL::Kd_tree_node< TreeTraits, Splitter, UseExtendedNode >.

Types

typedef Kd_tree< Traits, Splitter, UseExtendedNode >::iterator iterator
 const iterator over points.
 

Operations

unsigned int size () const
 Returns the number of items stored in a leaf node.
 
iterator begin () const
 Returns a const iterator to the first item in a leaf node.
 
iterator end () const
 Returns the appropriate past-the-end const iterator.
 

Additional Inherited Members

- Public Types inherited from CGAL::Kd_tree_node< TreeTraits, Splitter, UseExtendedNode >
typedef TreeTraits ::Point_d Point_d
 Point class.
 
- Public Member Functions inherited from CGAL::Kd_tree_node< TreeTraits, Splitter, UseExtendedNode >
OutputIterator search (OutputIterator it, FuzzyQueryItem q) const
 Reports the points from the subtree of the node, that are approximately contained by q.
 
boost::optional< Point_dsearch_any_point (OutputIterator it, FuzzyQueryItem q) const
 Reports any point from the subtree of the node, that is approximately contained by q.
 
OutputIterator tree_items (OutputIterator it) const
 Reports all the points contained by the subtree of the node.
 
bool is_leaf () const
 Indicates whether a node is a leaf node.