59 if(node ==
nullptr)
return;
90 if (
this == &right)
return *
this;
123 if((*newNode)[aParent->
fAxis] > (*aParent)[aParent->
fAxis])
125 aParent->
fRight = newNode ;
130 aParent->
fLeft = newNode ;
131 newNode->
fSide = -1 ;
134 newNode->
fRight =
nullptr;
135 newNode->
fLeft =
nullptr;
163 output.push_back(
this);
176 for (
G4int i=0; i<level; ++i)
void Free(G4KDNode_Base *&node)
void InactiveNode(G4KDNode_Base *node)
void RetrieveNodeList(std::list< G4KDNode_Base * > &node_list)
virtual void InactiveNode()
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
G4KDNode_Base * Insert(PointT *point)
G4KDNode_Base * FindParent(const Position &x0)
void Print(std::ostream &out, G4int level=0) const
std::size_t GetDim() const
void NoticeNodeDeactivation()