ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Euler3.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Euler3.hpp (file contents):
Revision 1254 by tim, Wed Jun 9 16:16:33 2004 UTC vs.
Revision 1268 by tim, Fri Jun 11 17:16:21 2004 UTC

# Line 7 | Line 7 | class Euler3{
7  
8   class Euler3{
9    public:
10 <    Euler3();
11 <    Euler3(double theta, double phi, double psi){
12 <      this->theta = theta;
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 <      theta = e[0];
23 <      phi = e[1];
22 >      phi = e[0];
23 >      theta = e[1];
24        psi = e[2];
25      }
26  
# Line 29 | Line 33 | class Euler3{
33    public:
34      union{
35        struct{
32        double theta;
36          double phi;
37 +        double theta;
38          double psi;
39        };
40        double angle[3];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines