75 fLeft(0), fRight(0), fParent(parent)
84 fLeft(0), fRight(0), fParent(0)
93 if (
this == &right)
return *
this;
129 if((*newNode)[aParent->
fAxis] > (*aParent)[aParent->
fAxis])
131 aParent->
fRight = newNode ;
136 aParent->
fLeft = newNode ;
137 newNode->
fSide = -1 ;
169 output.push_back(
this);
182 for (
int i=0; i<level; i++)
G4KDNode_Base * Insert(PointT *point)
G4KDTree is used by the ITManager to locate the neareast neighbours.
void RetrieveNodeList(std::list< G4KDNode_Base * > &node_list)
void Print(std::ostream &out, int level=0) const
void InactiveNode(G4KDNode_Base *node)
virtual void InactiveNode()
void Free(G4KDNode_Base *&node)
G4KDNode_Base * FindParent(const Position &x0)
G4KDNode_Base & operator=(const G4KDNode_Base &right)
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
void NoticeNodeDeactivation()