72 virtual bool IsValid()
const{
return true; }
86 template<
typename Position>
89 template<
typename Po
intT>
91 template<
typename Po
intT>
98 void Print(std::ostream& out,
int level = 0)
const;
132 template<
typename Po
intT>
142 void *
operator new(size_t);
143 void operator delete(
void *);
178 template<
typename Po
intT>
182 template<
typename Po
intT>
189 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
G4KDNodeCopy(G4KDTree *tree, const PointCopyT &point, G4KDNode_Base *parent)
virtual bool IsValid() const
void RetrieveNodeList(std::list< G4KDNode_Base * > &node_list)
static G4ThreadLocal G4Allocator< G4KDNode< PointT > > * fgAllocator
G4KDNode_Base * Insert(PointT *point)
virtual void InactiveNode()
void FreeSingle(Type *anElement)
void SetTree(G4KDTree *tree)
G4KDNode & operator=(const G4KDNode< PointT > &right)
G4KDNode_Base * FindParent(const Position &x0)
G4KDNode_Base & operator=(const G4KDNode_Base &right)
void Print(std::ostream &out, int level=0) const
G4KDNodeCopy(const G4KDNodeCopy< PointCopyT > &right)
const PointCopyT & GetPoint()
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
virtual double operator[](size_t i) const
static G4ThreadLocal G4Allocator< G4KDNodeCopy< PointCopyT > > * fgAllocator
G4KDNode_Base * GetParent()
G4KDNode_Base * GetRight()
G4KDNodeCopy< PointCopyT > & operator=(const G4KDNodeCopy< PointCopyT > &right)
G4KDNode(G4KDTree *, PointT *, G4KDNode_Base *)
virtual void InactiveNode()
virtual bool IsValid() const
virtual void InactiveNode()
G4KDNode_Base * GetLeft()
G4KDTree * GetTree() const
virtual double operator[](size_t i) const
virtual bool IsValid() const
virtual double operator[](size_t) const =0