78 void* G4KDTree::operator
new(size_t)
84 void G4KDTree::operator
delete(
void *aNode)
86 fgAllocator()->FreeSingle((
G4KDTree*) aNode);
127 G4cout <<
"template<typename PointT> G4KDTree<PointT>::Build" <<
G4endl;
132 if(root == 0)
return;
143 for (
size_t n = 0;
n < Nnodes;
n +=
fDim)
168 std::vector<G4KDNode_Base* > result;
189 rset->Insert(dist_sq, result[j]);
210 const double range_sq =
sqr(range);