SPH
Public Member Functions | Public Attributes | List of all members
InnerNode< TBase > Struct Template Reference

Inner node of K-d tree. More...

#include <KdTree.h>

Inheritance diagram for InnerNode< TBase >:

Public Member Functions

 InnerNode ()
 
 InnerNode (const KdNode::Type &type)
 

Public Attributes

float splitPosition
 Position where the selected dimension is split. More...
 
Size left
 Index of left child node. More...
 
Size right
 Index of right child node. More...
 

Detailed Description

template<typename TBase>
struct InnerNode< TBase >

Inner node of K-d tree.

Definition at line 42 of file KdTree.h.

Constructor & Destructor Documentation

◆ InnerNode() [1/2]

template<typename TBase >
InnerNode< TBase >::InnerNode ( )
inline

Definition at line 52 of file KdTree.h.

◆ InnerNode() [2/2]

template<typename TBase >
InnerNode< TBase >::InnerNode ( const KdNode::Type type)
inline

Definition at line 55 of file KdTree.h.

Member Data Documentation

◆ left

template<typename TBase >
Size InnerNode< TBase >::left

Index of left child node.

Definition at line 47 of file KdTree.h.

◆ right

template<typename TBase >
Size InnerNode< TBase >::right

Index of right child node.

Definition at line 50 of file KdTree.h.

◆ splitPosition

template<typename TBase >
float InnerNode< TBase >::splitPosition

Position where the selected dimension is split.

Definition at line 44 of file KdTree.h.


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