mp_mosaics
Monstrous Mosaics
KDTree< Dim >::KDTreeNode Struct Reference

Internal structure for a node of KDTree. More...

Collaboration diagram for KDTree< Dim >::KDTreeNode:
[legend]

Public Member Functions

 KDTreeNode ()
 
 KDTreeNode (const Point< Dim > &point)
 

Public Attributes

Point< Dim > point
 
KDTreeNodeleft
 
KDTreeNoderight
 

Detailed Description

template<int Dim>
struct KDTree< Dim >::KDTreeNode

Internal structure for a node of KDTree.

Contains left, right children pointers and a K-dimensional point

Constructor & Destructor Documentation

◆ KDTreeNode() [1/2]

template<int Dim>
KDTree< Dim >::KDTreeNode::KDTreeNode ( )
inline

◆ KDTreeNode() [2/2]

template<int Dim>
KDTree< Dim >::KDTreeNode::KDTreeNode ( const Point< Dim > &  point)
inline

Member Data Documentation

◆ left

template<int Dim>
KDTreeNode* KDTree< Dim >::KDTreeNode::left

◆ point

template<int Dim>
Point<Dim> KDTree< Dim >::KDTreeNode::point

◆ right

template<int Dim>
KDTreeNode * KDTree< Dim >::KDTreeNode::right

The documentation for this struct was generated from the following file: