Geant4_10
Public Member Functions | Protected Attributes | List of all members
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
 

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.

Member Function Documentation

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

Definition at line 130 of file G4KDTree.cc.

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.

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.

Here is the caller graph for this function:

double* HyperRect::GetMin ( )
inline

Definition at line 152 of file G4KDTree.cc.

Here is the caller graph for this function:

Member Data Documentation

int HyperRect::fDim
protected

Definition at line 156 of file G4KDTree.cc.

double * HyperRect::fMax
protected

Definition at line 157 of file G4KDTree.cc.

double* HyperRect::fMin
protected

Definition at line 157 of file G4KDTree.cc.


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