KrisLibrary  1.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
Geometry::BallTreeNode Class Reference

A node of a ball-tree point location data structure. More...

#include <BallTree.h>

Public Types

typedef KDTree::Point Point
 

Public Member Functions

bool IsLeaf () const
 
int MaxDepth () const
 
int MinDepth () const
 
int MaxLeafSize () const
 max/min number of points in leaves of tree
 
int MinLeafSize () const
 
int TreeSize () const
 Number of nodes in tree.
 

Public Attributes

Vector center
 
Real radius
 
std::vector< Pointpts
 
BallTreeNodeparent
 
std::vector< std::unique_ptr< BallTreeNode > > children
 

Detailed Description

A node of a ball-tree point location data structure.

Members:

XXXXX this note doesnt apply anymore... referencing was problematic XXXXX NOTE: To avoid unnecessary copying, BallTreeNodes only store REFERENCES to the Vectors that are given as input. As a result you must store them in some auxiliary data structure. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


The documentation for this class was generated from the following files: