#include <G4KDTree.hh>
Definition at line 135 of file G4KDTree.hh.
◆ HyperRect() [1/2]
G4KDTree::HyperRect::HyperRect |
( |
size_t |
dim | ) |
|
|
inline |
◆ ~HyperRect()
G4KDTree::HyperRect::~HyperRect |
( |
| ) |
|
|
inline |
◆ HyperRect() [2/2]
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];
◆ CompareDistSqr()
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;
static const G4double pos
◆ Extend()
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
◆ GetDim()
size_t G4KDTree::HyperRect::GetDim |
( |
| ) |
|
|
inline |
◆ GetMax()
double* G4KDTree::HyperRect::GetMax |
( |
| ) |
|
|
inline |
◆ GetMin()
double* G4KDTree::HyperRect::GetMin |
( |
| ) |
|
|
inline |
◆ operator=()
Definition at line 231 of file G4KDTree.hh.
233 if (
this == &rhs)
return *
this;
◆ SetMinMax()
template<typename Position >
void G4KDTree::HyperRect::SetMinMax |
( |
const Position & |
min, |
|
|
const Position & |
max |
|
) |
| |
|
inline |
◆ fDim
size_t G4KDTree::HyperRect::fDim |
|
protected |
◆ fMax
double * G4KDTree::HyperRect::fMax |
|
protected |
◆ fMin
double* G4KDTree::HyperRect::fMin |
|
protected |
The documentation for this class was generated from the following file: