Geant4-11
Public Member Functions
G4GDMLWriteSolids::G4ThreeVectorCompare Class Reference

Public Member Functions

G4bool operator() (const G4ThreeVector &t1, const G4ThreeVector &t2) const
 

Detailed Description

Definition at line 75 of file G4GDMLWriteSolids.hh.

Member Function Documentation

◆ operator()()

G4bool G4GDMLWriteSolids::G4ThreeVectorCompare::operator() ( const G4ThreeVector t1,
const G4ThreeVector t2 
) const
inline

Definition at line 79 of file G4GDMLWriteSolids.hh.

80 {
81 if(t1.x() < t2.x())
82 return true;
83
84 if(t1.y() < t2.y())
85 return true;
86
87 if(t1.z() < t2.z())
88 return true;
89
90 return false;
91 }
double z() const
double x() const
double y() const

References CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().


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