#include <G4KDTree.hh>
Definition at line 135 of file G4KDTree.hh.
G4KDTree::HyperRect::HyperRect |
( |
size_t |
dim | ) |
|
|
inline |
G4KDTree::HyperRect::~HyperRect |
( |
| ) |
|
|
inline |
G4KDTree::HyperRect::HyperRect |
( |
const HyperRect & |
rect | ) |
|
|
inline |
Definition at line 161 of file G4KDTree.hh.
167 for (
size_t i = 0; i <
fDim; i++)
169 fMin[i] = rect.fMin[i];
170 fMax[i] = rect.fMax[i];
template<typename Position >
bool G4KDTree::HyperRect::CompareDistSqr |
( |
const Position & |
pos, |
|
|
const double * |
bestmatch |
|
) |
| |
|
inline |
Definition at line 191 of file G4KDTree.hh.
195 for (
size_t i = 0; i <
fDim; i++)
206 if (result >= *bestmatch)
return false;
G4double G4ParticleHPJENDLHEData::G4double result
static const G4double pos
template<typename Position >
void G4KDTree::HyperRect::Extend |
( |
const Position & |
pos | ) |
|
|
inline |
Definition at line 175 of file G4KDTree.hh.
177 for (
size_t i = 0; i <
fDim; i++)
static const G4double pos
size_t G4KDTree::HyperRect::GetDim |
( |
| ) |
|
|
inline |
double* G4KDTree::HyperRect::GetMax |
( |
| ) |
|
|
inline |
double* G4KDTree::HyperRect::GetMin |
( |
| ) |
|
|
inline |
template<typename Position >
void G4KDTree::HyperRect::SetMinMax |
( |
const Position & |
min, |
|
|
const Position & |
max |
|
) |
| |
|
inline |
Definition at line 146 of file G4KDTree.hh.
148 for (
size_t i = 0; i <
fDim; i++)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
size_t G4KDTree::HyperRect::fDim |
|
protected |
double * G4KDTree::HyperRect::fMax |
|
protected |
double* G4KDTree::HyperRect::fMin |
|
protected |
The documentation for this class was generated from the following file:
- source/geant4.10.03.p03/source/processes/electromagnetic/dna/management/include/G4KDTree.hh