60 if(
this == &rhs)
return *
this;
96 KDTR_parent::erase(begin(),end());
103 KDTR_parent::push_back(
ResNode(dis_sq,node));
110 KDTR_parent::erase(begin(),end());
123 return KDTR_parent::size();
128 return KDTR_parent::size();
149 return (*fIterator).GetDistanceSqr();
153 return (*fIterator).GetNode();
G4Allocator< G4KDTreeResult > *& aKDTreeAllocator()
bool CompareResNode(const ResNode &left, const ResNode &right)
G4KDTreeResult(G4KDTree *)
G4KDNode_Base * GetNode() const
double GetDistanceSqr() const
virtual ~G4KDTreeResult()
void Insert(double, G4KDNode_Base *)
KDTR_parent::iterator fIterator
G4KDNode_Base * GetNode()
ResNode(const ResNode &right)
G4bool operator<(const ResNode &right) const
ResNode(double distsqr, G4KDNode_Base *node)
ResNode & operator=(const ResNode &rhs)
#define G4ThreadLocalStatic