Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4KDNode.cc File Reference
#include "globals.hh"
#include "G4KDNode.hh"
#include "G4KDTree.hh"
#include <ostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ Free()

void Free ( G4KDNode_Base *& node)

Definition at line 64 of file G4KDNode.cc.

65{
66 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:103

Referenced by G4IT::TakeOutBox().