Revision: | 1268 |
Committed: | Fri Jun 11 17:16:21 2004 UTC (20 years, 10 months ago) by tim |
File size: | 669 byte(s) |
Log Message: | roll in progress |
# | Content |
---|---|
1 | #ifndef _EULER3_H_ |
2 | #define _EULER3_H_ |
3 | |
4 | class Quaternion; |
5 | class Mat3x3d; |
6 | class Vector3d; |
7 | |
8 | class Euler3{ |
9 | public: |
10 | Euler3(){ |
11 | phi = 0; |
12 | theta = 0; |
13 | psi = 0; |
14 | } |
15 | Euler3( double phi, double theta, double psi){ |
16 | this->phi = phi; |
17 | this->theta = theta; |
18 | this->psi = psi; |
19 | } |
20 | |
21 | Euler3(double e[3]){ |
22 | phi = e[0]; |
23 | theta = e[1]; |
24 | psi = e[2]; |
25 | } |
26 | |
27 | Euler3(const Vector3d& v); |
28 | |
29 | Euler3(Mat3x3d& m); |
30 | |
31 | Euler3(Quaternion& q); |
32 | |
33 | public: |
34 | union{ |
35 | struct{ |
36 | double phi; |
37 | double theta; |
38 | double psi; |
39 | }; |
40 | double angle[3]; |
41 | }; |
42 | }; |
43 | |
44 | #endif //endif idndef _EULER3_H_ |
Name | Value |
---|---|
svn:executable | * |