59 if(node ==
nullptr)
return;
74 fLeft(0), fRight(0), fParent(parent)
83 fLeft(0), fRight(0), fParent(0)
92 if (
this == &right)
return *
this;
128 if((*newNode)[aParent->
fAxis] > (*aParent)[aParent->
fAxis])
130 aParent->
fRight = newNode ;
135 aParent->
fLeft = newNode ;
136 newNode->
fSide = -1 ;
168 output.push_back(
this);
181 for (
int i=0; i<level; i++)
void Free(G4KDNode_Base *&node)
void InactiveNode(G4KDNode_Base *node)
void RetrieveNodeList(std::list< G4KDNode_Base * > &node_list)
void Print(std::ostream &out, int level=0) const
virtual void InactiveNode()
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
G4KDNode_Base * Insert(PointT *point)
G4KDNode_Base * FindParent(const Position &x0)
void NoticeNodeDeactivation()