74 virtual bool IsValid()
const{
return true; }
95 void Print(std::ostream& out,
int level = 0)
const ;
127 template <
typename Po
intT>
138 void *
operator new(size_t);
139 void operator delete(
void *);
173 template <
typename Po
intT>
176 template<
typename Po
intT>
183 template<
typename Po
intT>
191 #endif // G4KDNODE_HH
void SetTree(G4KDTree *tree)
virtual bool IsValid() const
G4KDNode(G4KDTree *, PointT *, G4KDNode_Base *)
static G4ThreadLocal G4Allocator< G4KDNode< PointT > > * fgAllocator
G4KDNode_Base * Insert(PointT *point)
G4KDNode_Base * GetRight()
G4KDTree * GetTree() const
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
virtual void InactiveNode()
G4KDNode stores one entity in G4KDTree This class is for internal use only.
virtual void InactiveNode()
G4KDNode_Base * FindParent(const Position &x0)
G4KDNode_Base & operator=(const G4KDNode_Base &right)
virtual bool IsValid() const
virtual double operator[](size_t) const =0
G4KDNode_Base * GetParent()
virtual double operator[](size_t i) const
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
G4KDNode & operator=(const G4KDNode< PointT > &right)
G4KDNode_Base * GetLeft()