#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()
Definition at line 45 of file AxisAngle.cc.
45 {
46
47 double thisRep[9];
48 double aaRep[9];
49
50 ZMpvAxisAngleRep( *this, thisRep );
51 ZMpvAxisAngleRep( aa, aaRep );
52
53 double sum = 0.0;
54 for ( int i = 0; i < 9; i++ ) {
55 sum += thisRep[i] * aaRep[i];
56 }
57
58 double d = 3.0 - sum;
59 return (d >= 0) ? d : 0;
60
61}
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 71 of file AxisAngle.cc.
71 {
72
74
75}
double distance(const HepAxisAngle &aa) const
◆ isNear()
◆ 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 85 of file AxisAngle.cc.
85 {
86 os << '(' << aa.axis() << ", " << aa.delta() << ')';
87 return os;
88}
◆ operator>>
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
AA & |
aa |
|
) |
| |
|
friend |
Definition at line 95 of file AxisAngle.cc.
95 {
98 double x,y,z;
102 return is;
103}
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: