Geant4-11
Public Member Functions | Data Fields
Extractor< CONTAINER > Class Template Reference

#include <G4OctreeFinder.hh>

Public Member Functions

const G4ThreeVector operator() (typename CONTAINER::iterator it)
 

Data Fields

std::function< G4bool(const std::pair< typename CONTAINER::iterator, G4double >, const std::pair< typename CONTAINER::iterator, G4double >)> compareInterval
 

Detailed Description

template<typename CONTAINER>
class Extractor< CONTAINER >

Definition at line 56 of file G4OctreeFinder.hh.

Member Function Documentation

◆ operator()()

template<typename CONTAINER >
const G4ThreeVector Extractor< CONTAINER >::operator() ( typename CONTAINER::iterator  it)
inline

Definition at line 59 of file G4OctreeFinder.hh.

60 {
61 return (*it)->GetPosition();
62 }

Field Documentation

◆ compareInterval

template<typename CONTAINER >
std::function<G4bool(const std::pair<typename CONTAINER::iterator,G4double>, const std::pair<typename CONTAINER::iterator,G4double>)> Extractor< CONTAINER >::compareInterval
Initial value:
= [](const std::pair<typename CONTAINER::iterator,G4double>& iter1,
const std::pair<typename CONTAINER::iterator,G4double>& iter2)
-> G4bool
{
return (std::get<1>(iter1) < std::get<1>(iter2));
}
bool G4bool
Definition: G4Types.hh:86

Definition at line 65 of file G4OctreeFinder.hh.


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