73 virtual bool IsValid()
const{
return true; }
87 template<
typename Position>
90 template<
typename Po
intT>
92 template<
typename Po
intT>
99 void Print(std::ostream& out,
int level = 0)
const;
131 template<
typename Po
intT>
141 void *
operator new(size_t);
142 void operator delete(
void *);
151 if(fPoint == 0) abort();
177 template<
typename Po
intT>
181 template<
typename Po
intT>
188 template<
typename Po
intT>
200 template<
typename Po
intCopyT>
208 const PointCopyT& point,
218 void *
operator new(size_t)
224 void operator delete(
void* aNode)
264 if(
this == &right)
return *
this;
278 template<
typename Po
intT>
282 #include "G4KDNode.icc" 284 #endif // G4KDNODE_HH
void SetTree(G4KDTree *tree)
G4KDNodeCopy(const G4KDNodeCopy< PointCopyT > &right)
virtual bool IsValid() const
static G4ThreadLocal G4Allocator< G4KDNode< PointT > > * fgAllocator
const PointCopyT & GetPoint()
G4KDNode_Base * Insert(PointT *point)
G4KDNode_Base * GetRight()
void RetrieveNodeList(std::list< G4KDNode_Base *> &node_list)
virtual bool IsValid() const
G4KDNodeCopy(G4KDTree *tree, const PointCopyT &point, G4KDNode_Base *parent)
G4KDTree * GetTree() const
virtual void InactiveNode()
virtual void InactiveNode()
G4KDNode_Base * FindParent(const Position &x0)
G4KDNodeCopy< PointCopyT > & operator=(const G4KDNodeCopy< PointCopyT > &right)
G4KDNode_Base & operator=(const G4KDNode_Base &right)
virtual double operator[](size_t i) const
virtual bool IsValid() const
virtual double operator[](size_t) const =0
virtual void InactiveNode()
G4KDNode_Base * GetParent()
virtual double operator[](size_t i) const
void Print(std::ostream &out, int level=0) const
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
G4KDNode_Base * GetLeft()
static G4ThreadLocal G4Allocator< G4KDNodeCopy< PointCopyT > > * fgAllocator