Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <TwoVector.h>
Public Types | |
enum | { X =0 , Y =1 , NUM_COORDINATES =2 , SIZE =NUM_COORDINATES } |
enum | { ZMpvToleranceTicks = 100 } |
Static Public Member Functions | |
static double | getTolerance () |
static double | setTolerance (double tol) |
Friends | |
std::ostream & | operator<< (std::ostream &, const Hep2Vector &) |
double | operator* (const Hep2Vector &a, const Hep2Vector &b) |
Hep2Vector | operator* (const Hep2Vector &p, double a) |
Hep2Vector | operator* (double a, const Hep2Vector &p) |
Hep2Vector | operator/ (const Hep2Vector &p, double a) |
Hep2Vector | operator+ (const Hep2Vector &a, const Hep2Vector &b) |
Hep2Vector | operator- (const Hep2Vector &a, const Hep2Vector &b) |
Definition at line 48 of file TwoVector.h.
anonymous enum |
Enumerator | |
---|---|
ZMpvToleranceTicks |
Definition at line 195 of file TwoVector.h.
anonymous enum |
|
inline |
|
inline |
|
explicit |
|
inline |
|
inline |
int CLHEP::Hep2Vector::compare | ( | const Hep2Vector & | v | ) | const |
Definition at line 88 of file TwoVector.cc.
Referenced by operator<(), operator<=(), operator>(), and operator>=().
|
inline |
|
inlinestatic |
double CLHEP::Hep2Vector::howNear | ( | const Hep2Vector & | p | ) | const |
Definition at line 121 of file TwoVector.cc.
double CLHEP::Hep2Vector::howOrthogonal | ( | const Hep2Vector & | p | ) | const |
Definition at line 162 of file TwoVector.cc.
double CLHEP::Hep2Vector::howParallel | ( | const Hep2Vector & | p | ) | const |
Definition at line 133 of file TwoVector.cc.
bool CLHEP::Hep2Vector::isNear | ( | const Hep2Vector & | p, |
double | epsilon = tolerance |
||
) | const |
Definition at line 116 of file TwoVector.cc.
bool CLHEP::Hep2Vector::isOrthogonal | ( | const Hep2Vector & | p, |
double | epsilon = tolerance |
||
) | const |
Definition at line 177 of file TwoVector.cc.
bool CLHEP::Hep2Vector::isParallel | ( | const Hep2Vector & | p, |
double | epsilon = tolerance |
||
) | const |
Definition at line 149 of file TwoVector.cc.
|
inline |
Referenced by G4TriangularFacet::Intersect().
|
inline |
Referenced by howNear(), howParallel(), G4TessellatedGeometryAlgorithms::IntersectLineAndLineSegment2D(), isNear(), and isParallel().
CLHEP::Hep2Vector::operator Hep3Vector | ( | ) | const |
Definition at line 84 of file TwoVector.cc.
|
inline |
double & CLHEP::Hep2Vector::operator() | ( | int | i | ) |
Definition at line 39 of file TwoVector.cc.
double CLHEP::Hep2Vector::operator() | ( | int | i | ) | const |
Definition at line 27 of file TwoVector.cc.
|
inline |
|
inline |
|
inline |
|
inline |
bool CLHEP::Hep2Vector::operator< | ( | const Hep2Vector & | v | ) | const |
Definition at line 106 of file TwoVector.cc.
bool CLHEP::Hep2Vector::operator<= | ( | const Hep2Vector & | v | ) | const |
Definition at line 112 of file TwoVector.cc.
|
inline |
|
inline |
bool CLHEP::Hep2Vector::operator> | ( | const Hep2Vector & | v | ) | const |
Definition at line 103 of file TwoVector.cc.
bool CLHEP::Hep2Vector::operator>= | ( | const Hep2Vector & | v | ) | const |
Definition at line 109 of file TwoVector.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void CLHEP::Hep2Vector::rotate | ( | double | aangle | ) |
Definition at line 53 of file TwoVector.cc.
|
inline |
Referenced by CLHEP::operator>>().
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 20 of file TwoVector.cc.
|
inline |
Referenced by G4GDMLReadSolids::SectionRead(), and G4GDMLReadSolids::TwoDimVertexRead().
|
inline |
Referenced by G4GDMLReadSolids::SectionRead(), and G4GDMLReadSolids::TwoDimVertexRead().
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 61 of file TwoVector.cc.
|
friend |
Definition at line 69 of file TwoVector.cc.