71 virtual bool IsValid()
const{
return true; }
85 template<
typename Position>
88 template<
typename Po
intT>
90 template<
typename Po
intT>
97 void Print(std::ostream& out,
G4int level = 0)
const;
131template<
typename Po
intT>
141 void *
operator new(std::size_t);
142 void operator delete(
void *);
151 if(
fPoint ==
nullptr) abort();
177template<
typename Po
intT>
181template<
typename Po
intT>
188template<
typename Po
intT>
199template<
typename Po
intCopyT>
207 const PointCopyT& point,
217 void *
operator new(std::size_t)
223 void operator delete(
void* aNode)
263 if(
this == &right)
return *
this;
277template<
typename Po
intT>
281#include "G4KDNode.icc"
void FreeSingle(Type *anElement)
virtual void InactiveNode()
virtual bool IsValid() const
G4KDNodeCopy(G4KDTree *tree, const PointCopyT &point, G4KDNode_Base *parent)
const PointCopyT & GetPoint()
virtual double operator[](std::size_t i) const
void SetTree(G4KDTree *tree)
G4KDNode_Base * GetParent()
void RetrieveNodeList(std::list< G4KDNode_Base * > &node_list)
virtual bool IsValid() const
G4KDTree * GetTree() const
virtual void InactiveNode()
G4KDNode_Base * GetRight()
G4KDNode_Base * Insert(const PointT &point)
G4KDNode_Base * Insert(PointT *point)
G4KDNode_Base * GetLeft()
virtual double operator[](std::size_t) const =0
G4KDNode_Base * FindParent(const Position &x0)
void Print(std::ostream &out, G4int level=0) const
virtual G4bool IsValid() const
virtual void InactiveNode()
G4KDNode(G4KDTree *, PointT *, G4KDNode_Base *)
virtual G4double operator[](std::size_t i) const