60 if(
this == &rhs)
return *
this;
94 KDTR_parent::erase(begin(),end());
101 KDTR_parent::push_back(
ResNode(dis_sq,node));
108 KDTR_parent::erase(begin(),end());
121 return KDTR_parent::size();
126 return KDTR_parent::size();
147 return (*fIterator).GetDistanceSqr();
151 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