#include <AxisAngle.h>
- Author
Definition at line 36 of file AxisAngle.h.
◆ AA
◆ Scalar
◆ HepAxisAngle() [1/2]
CLHEP::HepAxisAngle::HepAxisAngle |
( |
| ) |
|
|
inline |
◆ HepAxisAngle() [2/2]
◆ axis()
◆ compare()
int CLHEP::HepAxisAngle::compare |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ delta()
double CLHEP::HepAxisAngle::delta |
( |
| ) |
const |
|
inline |
◆ distance()
double CLHEP::HepAxisAngle::distance |
( |
const HepAxisAngle & |
aa | ) |
const |
|
protected |
Definition at line 49 of file AxisAngle.cc.
49 {
50
51 double thisRep[9];
52 double aaRep[9];
53
54 ZMpvAxisAngleRep( *this, thisRep );
55 ZMpvAxisAngleRep( aa, aaRep );
56
57 double sum = 0.0;
58 for ( int i = 0; i < 9; i++ ) {
59 sum += thisRep[i] * aaRep[i];
60 }
61
62 double d = 3.0 - sum;
63 return (d >= 0) ? d : 0;
64
65}
Referenced by howNear(), and isNear().
◆ getAxis()
◆ getDelta()
double CLHEP::HepAxisAngle::getDelta |
( |
| ) |
const |
|
inline |
◆ getTolerance()
static double CLHEP::HepAxisAngle::getTolerance |
( |
| ) |
|
|
inlinestatic |
◆ howNear()
double CLHEP::HepAxisAngle::howNear |
( |
const AA & |
aa | ) |
const |
Definition at line 75 of file AxisAngle.cc.
75 {
76
78
79}
double distance(const HepAxisAngle &aa) const
◆ isNear()
Definition at line 68 of file AxisAngle.cc.
68 {
69
71
72}
G4double epsilon(G4double density, G4double temperature)
◆ operator!=()
bool CLHEP::HepAxisAngle::operator!= |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ operator<()
bool CLHEP::HepAxisAngle::operator< |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ operator<=()
bool CLHEP::HepAxisAngle::operator<= |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ operator==()
bool CLHEP::HepAxisAngle::operator== |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ operator>()
bool CLHEP::HepAxisAngle::operator> |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ operator>=()
bool CLHEP::HepAxisAngle::operator>= |
( |
const AA & |
aa | ) |
const |
|
inline |
◆ set()
◆ setAxis()
◆ setDelta()
AA & CLHEP::HepAxisAngle::setDelta |
( |
Scalar |
delta | ) |
|
|
inline |
◆ setTolerance()
static double CLHEP::HepAxisAngle::setTolerance |
( |
Scalar |
tol | ) |
|
|
inlinestatic |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const AA & |
aa |
|
) |
| |
|
friend |
Definition at line 89 of file AxisAngle.cc.
89 {
90 os << '(' << aa.axis() << ", " << aa.delta() << ')';
91 return os;
92}
◆ operator>>
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
AA & |
aa |
|
) |
| |
|
friend |
Definition at line 99 of file AxisAngle.cc.
99 {
102 double x,y,z;
106 return is;
107}
void set(double x, double y, double z)
void ZMinputAxisAngle(std::istream &is, double &x, double &y, double &z, double &delta)
◆ tolerance
The documentation for this class was generated from the following files: