ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopse-1.0/libmdtools/Euler3.cpp
Revision: 1447
Committed: Fri Jul 30 21:01:35 2004 UTC (19 years, 11 months ago) by gezelter
File size: 303 byte(s)
Log Message:
Initial import of OOPSE sources into cvs tree

File Contents

# Content
1 #include "Euler3.hpp"
2 #include "Mat3x3d.hpp"
3 #include "Quaternion.hpp"
4 #include "Vector3d.hpp"
5
6 Euler3::Euler3(const Vector3d& v){
7 this->phi = v.x;
8 this->theta = v.y;
9 this->psi = v.z;
10 }
11
12 Euler3::Euler3(Mat3x3d& m){
13 *this = m.toEuler();
14 }
15
16 Euler3::Euler3(Quaternion& q){
17 *this = q.toEuler();
18 }