#include <AxisAngle.h>
- Author
Definition at line 37 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 50 of file AxisAngle.cc.
50 {
51
52 double thisRep[9];
53 double aaRep[9];
54
55 ZMpvAxisAngleRep( *this, thisRep );
56 ZMpvAxisAngleRep( aa, aaRep );
57
58 double sum = 0.0;
59 for ( int i = 0; i < 9; i++ ) {
60 sum += thisRep[i] * aaRep[i];
61 }
62
63 double d = 3.0 - sum;
64 return (d >= 0) ? d : 0;
65
66}
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 76 of file AxisAngle.cc.
76 {
77
79
80}
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 90 of file AxisAngle.cc.
90 {
91 os << '(' << aa.axis() << ", " << aa.delta() << ')';
92 return os;
93}
◆ operator>>
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
AA & |
aa |
|
) |
| |
|
friend |
Definition at line 100 of file AxisAngle.cc.
100 {
103 double x,y,z;
107 return is;
108}
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: