Geant4_10
Public Member Functions | Protected Attributes | List of all members
G4KDTreeResult Class Reference

#include <G4KDTreeResult.hh>

Inheritance diagram for G4KDTreeResult:
Inheritance graph
[legend]
Collaboration diagram for G4KDTreeResult:
Collaboration graph
[legend]

Public Member Functions

 G4KDTreeResult (G4KDTree *)
 
virtual ~G4KDTreeResult ()
 
void Insert (double, G4KDNode *)
 
void Clear ()
 
void Sort ()
 
size_t GetSize ()
 
size_t size ()
 
void Rewind ()
 
bool End ()
 
void Next ()
 
voidGetItemData ()
 
voidGetItem (double *&)
 
voidGetItem (double &x, double &y, double &z)
 
voidGetItemNDistanceSQ (double &)
 
voidGetItemNDistanceSQ (double *&, double &)
 
double GetDistanceSqr ()
 

Protected Attributes

G4KDTreefTree
 
std::list< ResNode >::iterator fIterator
 

Detailed Description

G4KDTreeResult enables to go through the nearest entities found by G4KDTree.

Definition at line 59 of file G4KDTreeResult.hh.

Constructor & Destructor Documentation

G4KDTreeResult::G4KDTreeResult ( G4KDTree tree)

Definition at line 80 of file G4KDTreeResult.cc.

G4KDTreeResult::~G4KDTreeResult ( )
virtual

Definition at line 85 of file G4KDTreeResult.cc.

Member Function Documentation

void G4KDTreeResult::Clear ( )

Definition at line 95 of file G4KDTreeResult.cc.

bool G4KDTreeResult::End ( )

Definition at line 121 of file G4KDTreeResult.cc.

double G4KDTreeResult::GetDistanceSqr ( )

Definition at line 164 of file G4KDTreeResult.cc.

void * G4KDTreeResult::GetItem ( double *&  pos)

Definition at line 131 of file G4KDTreeResult.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void * G4KDTreeResult::GetItem ( double &  x,
double &  y,
double &  z 
)

Definition at line 138 of file G4KDTreeResult.cc.

void * G4KDTreeResult::GetItemData ( )

Definition at line 159 of file G4KDTreeResult.cc.

void * G4KDTreeResult::GetItemNDistanceSQ ( double &  dist_sq)

Definition at line 147 of file G4KDTreeResult.cc.

void * G4KDTreeResult::GetItemNDistanceSQ ( double *&  pos,
double &  dist_sq 
)

Definition at line 153 of file G4KDTreeResult.cc.

Here is the call graph for this function:

size_t G4KDTreeResult::GetSize ( )

Definition at line 106 of file G4KDTreeResult.cc.

void G4KDTreeResult::Insert ( double  pos,
G4KDNode node 
)

Definition at line 90 of file G4KDTreeResult.cc.

Here is the caller graph for this function:

void G4KDTreeResult::Next ( )

Definition at line 126 of file G4KDTreeResult.cc.

void G4KDTreeResult::Rewind ( )

Definition at line 116 of file G4KDTreeResult.cc.

size_t G4KDTreeResult::size ( )

Definition at line 111 of file G4KDTreeResult.cc.

void G4KDTreeResult::Sort ( )

Definition at line 101 of file G4KDTreeResult.cc.

Here is the call graph for this function:

Member Data Documentation

std::list<ResNode>::iterator G4KDTreeResult::fIterator
protected

Definition at line 63 of file G4KDTreeResult.hh.

G4KDTree* G4KDTreeResult::fTree
protected

Definition at line 62 of file G4KDTreeResult.hh.


The documentation for this class was generated from the following files: