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 *);
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>
284 #endif // G4KDNODE_HH
void SetTree(G4KDTree *tree)
G4KDNodeCopy(const G4KDNodeCopy< PointCopyT > &right)
virtual bool IsValid() const
G4KDNode(G4KDTree *, PointT *, G4KDNode_Base *)
static G4ThreadLocal G4Allocator< G4KDNode< PointT > > * fgAllocator
const PointCopyT & GetPoint()
G4KDNode_Base * Insert(PointT *point)
void FreeSingle(Type *anElement)
G4KDNode_Base * GetRight()
G4KDTree * GetTree() const
G4KDTree is used by the ITManager to locate the neareast neighbours.
G4KDNodeCopy(G4KDTree *tree, const PointCopyT &point, G4KDNode_Base *parent)
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.
G4KDNode stores one entity in G4KDTree This class is for internal use only.
virtual void InactiveNode()
G4KDNode_Base * FindParent(const Position &x0)
G4KDNodeCopy< PointCopyT > & operator=(const G4KDNodeCopy< PointCopyT > &right)
G4KDNode_Base & operator=(const G4KDNode_Base &right)
virtual bool IsValid() const
virtual double operator[](size_t i) const
virtual double operator[](size_t) const =0
virtual void InactiveNode()
G4KDNode_Base * GetParent()
virtual double operator[](size_t i) const
virtual bool IsValid() const
G4KDNode_Base(G4KDTree *, G4KDNode_Base *)
G4KDNode & operator=(const G4KDNode< PointT > &right)
G4KDNode_Base * GetLeft()
static G4ThreadLocal G4Allocator< G4KDNodeCopy< PointCopyT > > * fgAllocator