\( \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.7 - dD Spatial Searching
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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. More...
 

Operations

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

Additional Inherited Members

- 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. More...
 
OutputIterator tree_items (OutputIterator it) const
 Reports all the points contained by the subtree of the node. More...
 
bool is_leaf () const
 Indicates whether a node is a leaf node. More...
 

Member Typedef Documentation

template<class TreeTraits , class Splitter , class UseExtendedNode >
typedef Kd_tree<Traits,Splitter,UseExtendedNode>::iterator CGAL::Kd_tree_leaf_node< TreeTraits, Splitter, UseExtendedNode >::iterator

const iterator over points.

Member Function Documentation

template<class TreeTraits , class Splitter , class UseExtendedNode >
iterator CGAL::Kd_tree_leaf_node< TreeTraits, Splitter, UseExtendedNode >::begin ( ) const

Returns a const iterator to the first item in a leaf node.

template<class TreeTraits , class Splitter , class UseExtendedNode >
iterator CGAL::Kd_tree_leaf_node< TreeTraits, Splitter, UseExtendedNode >::end ( ) const

Returns the appropriate past-the-end const iterator.

template<class TreeTraits , class Splitter , class UseExtendedNode >
unsigned int CGAL::Kd_tree_leaf_node< TreeTraits, Splitter, UseExtendedNode >::size ( ) const

Returns the number of items stored in a leaf node.