Geant4  10.00.p03
HyperRect Struct Reference

Public Member Functions

 HyperRect (int dim, const double *min, const double *max)
 
 ~HyperRect ()
 
 HyperRect (const HyperRect &rect)
 
void Extend (const double *pos)
 
bool CompareDistSqr (const double *pos, const double *bestmatch)
 
int GetDim ()
 
double * GetMin ()
 
double * GetMax ()
 

Protected Attributes

int fDim
 
double * fMin
 
double * fMax
 

Private Member Functions

HyperRectoperator= (const HyperRect &rhs)
 

Detailed Description

Definition at line 83 of file G4KDTree.cc.

Constructor & Destructor Documentation

HyperRect::HyperRect ( int  dim,
const double *  min,
const double *  max 
)
inline

Definition at line 86 of file G4KDTree.cc.

HyperRect::~HyperRect ( )
inline

Definition at line 97 of file G4KDTree.cc.

HyperRect::HyperRect ( const HyperRect rect)
inline

Definition at line 103 of file G4KDTree.cc.

References fDim, fMax, and fMin.

Member Function Documentation

bool HyperRect::CompareDistSqr ( const double *  pos,
const double *  bestmatch 
)
inline

Definition at line 130 of file G4KDTree.cc.

References sqr().

Referenced by G4KDTree::__NearestToNode(), and G4KDTree::__NearestToPosition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HyperRect::Extend ( const double *  pos)
inline

Definition at line 113 of file G4KDTree.cc.

Referenced by G4KDTree::Build(), and G4KDTree::Insert().

+ Here is the caller graph for this function:

int HyperRect::GetDim ( )
inline

Definition at line 151 of file G4KDTree.cc.

double* HyperRect::GetMax ( )
inline

Definition at line 153 of file G4KDTree.cc.

Referenced by G4KDTree::__NearestToNode(), and G4KDTree::__NearestToPosition().

+ Here is the caller graph for this function:

double* HyperRect::GetMin ( )
inline

Definition at line 152 of file G4KDTree.cc.

Referenced by G4KDTree::__NearestToNode(), and G4KDTree::__NearestToPosition().

+ Here is the caller graph for this function:

HyperRect& HyperRect::operator= ( const HyperRect rhs)
inlineprivate

Definition at line 161 of file G4KDTree.cc.

Member Data Documentation

int HyperRect::fDim
protected

Definition at line 156 of file G4KDTree.cc.

Referenced by HyperRect().

double * HyperRect::fMax
protected

Definition at line 157 of file G4KDTree.cc.

Referenced by HyperRect().

double* HyperRect::fMin
protected

Definition at line 157 of file G4KDTree.cc.

Referenced by HyperRect().


The documentation for this struct was generated from the following file: