Euler_explicit angle class. More...
#include <rotation.hh>
Public Member Functions | |
| Euler_explicit () | |
| constructor: null | |
| Euler_explicit (const Vec3< ftype > &e1, const ftype &phi1, const Vec3< ftype > &e2, const ftype &phi2, const Vec3< ftype > &e3, const ftype &phi3) | |
| constructor: from specified angles and axis vectors | |
| void | SetAngles (const ftype &phi1, const ftype &phi2, const ftype &phi3) |
| const Vec3< ftype > & | e1 () const |
| return e1 | |
| const Vec3< ftype > & | e2 () const |
| return e2 | |
| const Vec3< ftype > & | e3 () const |
| return e3 | |
| const ftype & | phi1 () const |
| return phi1 | |
| const ftype & | phi2 () const |
| return phi2 | |
| const ftype & | phi3 () const |
| return phi3 | |
| String | format () const |
| return formatted String representation | |
Euler_explicit angle class.
Rotations are generally handled through the clipper::Rotation class. This class only exists for conversion purposes.
This particular class represents three angles of rotation around specified axes e1, e2, e3 defined by their direction cosines ie rotate about e3, then e2, then e1
R = R(e1, phi1) R(e2, phi2) R(e3, phi3)
where R(e, phi) is the rotation matrix for a rotation by angle phi around axis e
| scala::Euler_explicit::Euler_explicit | ( | const Vec3< ftype > & | e1, | |
| const ftype & | phi1, | |||
| const Vec3< ftype > & | e2, | |||
| const ftype & | phi2, | |||
| const Vec3< ftype > & | e3, | |||
| const ftype & | phi3 | |||
| ) |
constructor: from specified angles and axis vectors
Store phi1, phi2, phi3
1.6.3