Geant4_10
|
#include <G4KDTreeResult.hh>
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 () |
void * | GetItemData () |
void * | GetItem (double *&) |
void * | GetItem (double &x, double &y, double &z) |
void * | GetItemNDistanceSQ (double &) |
void * | GetItemNDistanceSQ (double *&, double &) |
double | GetDistanceSqr () |
Protected Attributes | |
G4KDTree * | fTree |
std::list< ResNode >::iterator | fIterator |
G4KDTreeResult enables to go through the nearest entities found by G4KDTree.
Definition at line 59 of file G4KDTreeResult.hh.
G4KDTreeResult::G4KDTreeResult | ( | G4KDTree * | tree | ) |
Definition at line 80 of file G4KDTreeResult.cc.
|
virtual |
Definition at line 85 of file G4KDTreeResult.cc.
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.
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 | ||
) |
size_t G4KDTreeResult::GetSize | ( | ) |
Definition at line 106 of file G4KDTreeResult.cc.
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 | ( | ) |
|
protected |
Definition at line 63 of file G4KDTreeResult.hh.
|
protected |
Definition at line 62 of file G4KDTreeResult.hh.