Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4KDTree.hh File Reference
#include <vector>
#include "G4KDNode.hh"
#include "G4KDTreeResult.hh"
#include "G4KDTree.icc"

Go to the source code of this file.

Classes

class  G4KDTree
 
class  G4KDTree::HyperRect
 

Functions

void InactiveNode (G4KDNode_Base *)
 
void Free (G4KDNode_Base *&)
 

Function Documentation

◆ Free()

void Free ( G4KDNode_Base *&  node)

Definition at line 64 of file G4KDNode.cc.

65{
66 if(node) delete node;
67 node = nullptr;
68}

◆ InactiveNode()

void InactiveNode ( G4KDNode_Base node)

Definition at line 57 of file G4KDNode.cc.

58{
59 if(node == nullptr) return;
60// if(node->IsValid())
61 node->InactiveNode();
62}
virtual void InactiveNode()
Definition: G4KDNode.cc:106

Referenced by G4IT::TakeOutBox().