Geant4  10.02.p01
G4KDTree::HyperRect Class Reference

#include <G4KDTree.hh>

Public Member Functions

 HyperRect (size_t dim)
 
template<typename Position >
void SetMinMax (const Position &min, const Position &max)
 
 ~HyperRect ()
 
 HyperRect (const HyperRect &rect)
 
template<typename Position >
void Extend (const Position &pos)
 
template<typename Position >
bool CompareDistSqr (const Position &pos, const double *bestmatch)
 
size_t GetDim ()
 
double * GetMin ()
 
double * GetMax ()
 

Protected Attributes

size_t fDim
 
double * fMin
 
double * fMax
 

Private Member Functions

HyperRectoperator= (const HyperRect &rhs)
 

Detailed Description

Definition at line 135 of file G4KDTree.hh.

Constructor & Destructor Documentation

G4KDTree::HyperRect::HyperRect ( size_t  dim)
inline

Definition at line 138 of file G4KDTree.hh.

References fDim, fMax, and fMin.

G4KDTree::HyperRect::~HyperRect ( )
inline

Definition at line 155 of file G4KDTree.hh.

References fMax, and fMin.

G4KDTree::HyperRect::HyperRect ( const HyperRect rect)
inline

Definition at line 161 of file G4KDTree.hh.

References fDim, fMax, and fMin.

Member Function Documentation

template<typename Position >
bool G4KDTree::HyperRect::CompareDistSqr ( const Position &  pos,
const double *  bestmatch 
)
inline

Definition at line 191 of file G4KDTree.hh.

References fDim, fMax, fMin, and sqr().

+ Here is the call graph for this function:

template<typename Position >
void G4KDTree::HyperRect::Extend ( const Position &  pos)
inline

Definition at line 175 of file G4KDTree.hh.

References fDim, fMax, and fMin.

Referenced by G4KDTree::Build().

+ Here is the caller graph for this function:

size_t G4KDTree::HyperRect::GetDim ( )
inline

Definition at line 212 of file G4KDTree.hh.

References fDim.

double* G4KDTree::HyperRect::GetMax ( )
inline

Definition at line 220 of file G4KDTree.hh.

References fMax.

double* G4KDTree::HyperRect::GetMin ( )
inline

Definition at line 216 of file G4KDTree.hh.

References fMin.

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

Definition at line 231 of file G4KDTree.hh.

template<typename Position >
void G4KDTree::HyperRect::SetMinMax ( const Position &  min,
const Position &  max 
)
inline

Definition at line 146 of file G4KDTree.hh.

References fDim, fMax, and fMin.

Referenced by G4KDTree::Build().

+ Here is the caller graph for this function:

Member Data Documentation

size_t G4KDTree::HyperRect::fDim
protected

Definition at line 226 of file G4KDTree.hh.

Referenced by CompareDistSqr(), Extend(), GetDim(), HyperRect(), and SetMinMax().

double * G4KDTree::HyperRect::fMax
protected

Definition at line 227 of file G4KDTree.hh.

Referenced by CompareDistSqr(), Extend(), GetMax(), HyperRect(), SetMinMax(), and ~HyperRect().

double* G4KDTree::HyperRect::fMin
protected

Definition at line 227 of file G4KDTree.hh.

Referenced by CompareDistSqr(), Extend(), GetMin(), HyperRect(), SetMinMax(), and ~HyperRect().


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