67 if(
this == &rhs)
return *
this;
85 std::list<ResNode>::erase(begin(),end());
90 std::list<ResNode>::push_back(
ResNode(pos,node));
95 std::list<ResNode>::erase(begin(),end());
106 return std::list<ResNode>::size();
111 return std::list<ResNode>::size();
131 return (*fIterator).GetDistanceSqr();
135 return (*fIterator).GetNode();
ResNode(const ResNode &right)
bool CompareResNode(const ResNode &left, const ResNode &right)
bool operator<(const ResNode &right) const
G4KDTree is used by the ITManager to locate the neareast neighbours.
virtual ~G4KDTreeResult()
G4KDTreeResult(G4KDTree *)
ResNode & operator=(const ResNode &rhs)
double GetDistanceSqr() const
G4KDNode_Base * GetNode()
std::list< ResNode >::iterator fIterator
G4KDNode_Base * GetNode() const
void Insert(double, G4KDNode_Base *)
ResNode(double distsqr, G4KDNode_Base *node)
static const G4double pos