SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Node()

template<uint32_t K>
scl::kd_tree< K >::Node::Node ( const item & pt)
inline

Constructor Function.

Parameters
[in]ptPoints.

Definition at line 44 of file KDTree.h.

45 : m_Point(pt)
46 , m_Left(nullptr)
47 , m_Right(nullptr)
48 {}
Node * m_Right
Pointer to right child.
Definition KDTree.h:68
Node * m_Left
Pointer to left child.
Definition KDTree.h:63
item m_Point
Array to store the coordinates.
Definition KDTree.h:58

References scl::kd_tree< K >::Node::m_Left, scl::kd_tree< K >::Node::m_Point, and scl::kd_tree< K >::Node::m_Right.