Geant4
10.03
|
#include <G4KDTreeResult.hh>
Public Member Functions | |
G4KDTreeResult (G4KDTree *) | |
virtual | ~G4KDTreeResult () |
void * | operator new (size_t) |
void | operator delete (void *) |
void | Insert (double, G4KDNode_Base *) |
void | Clear () |
void | Sort () |
size_t | GetSize () const |
size_t | size () const |
void | Rewind () |
bool | End () |
void | Next () |
template<typename PointT > | |
PointT * | GetItem () const |
G4KDNode_Base * | GetNode () const |
template<typename PointT > | |
PointT * | GetItemNDistanceSQ (double &) const |
double | GetDistanceSqr () const |
Protected Attributes | |
G4KDTree * | fTree |
KDTR_parent::iterator | fIterator |
Definition at line 70 of file G4KDTreeResult.hh.
G4KDTreeResult::G4KDTreeResult | ( | G4KDTree * | tree | ) |
Definition at line 84 of file G4KDTreeResult.cc.
References fTree.
|
virtual |
Definition at line 91 of file G4KDTreeResult.cc.
void G4KDTreeResult::Clear | ( | ) |
Definition at line 103 of file G4KDTreeResult.cc.
References fIterator.
bool G4KDTreeResult::End | ( | ) |
Definition at line 134 of file G4KDTreeResult.cc.
References fIterator.
double G4KDTreeResult::GetDistanceSqr | ( | ) | const |
Definition at line 144 of file G4KDTreeResult.cc.
Referenced by GetItemNDistanceSQ().
PointT * G4KDTreeResult::GetItem | ( | ) | const |
Definition at line 140 of file G4KDTreeResult.hh.
References GetNode(), and G4KDNode< PointT >::GetPoint().
PointT * G4KDTreeResult::GetItemNDistanceSQ | ( | double & | dist_sq | ) | const |
Definition at line 147 of file G4KDTreeResult.hh.
References GetDistanceSqr().
G4KDNode_Base * G4KDTreeResult::GetNode | ( | ) | const |
Definition at line 149 of file G4KDTreeResult.cc.
Referenced by GetItem().
size_t G4KDTreeResult::GetSize | ( | ) | const |
Definition at line 117 of file G4KDTreeResult.cc.
void G4KDTreeResult::Insert | ( | double | dis_sq, |
G4KDNode_Base * | node | ||
) |
Definition at line 97 of file G4KDTreeResult.cc.
void G4KDTreeResult::Next | ( | ) |
Definition at line 139 of file G4KDTreeResult.cc.
References fIterator.
|
inline |
Definition at line 134 of file G4KDTreeResult.hh.
References aKDTreeAllocator.
|
inline |
Definition at line 128 of file G4KDTreeResult.hh.
References aKDTreeAllocator.
void G4KDTreeResult::Rewind | ( | ) |
Definition at line 129 of file G4KDTreeResult.cc.
References fIterator.
Referenced by G4KDTree::NearestInRange().
size_t G4KDTreeResult::size | ( | ) | const |
Definition at line 123 of file G4KDTreeResult.cc.
void G4KDTreeResult::Sort | ( | ) |
Definition at line 111 of file G4KDTreeResult.cc.
References CompareResNode().
Referenced by G4KDTree::NearestInRange().
|
protected |
|
protected |
Definition at line 73 of file G4KDTreeResult.hh.
Referenced by G4KDTreeResult().