Rotation3 Class Reference

#include <composite3.hh>

Public Member Functions

 Rotation3 ()
 Rotation3 (Real phi, Real theta, Real psi, const Vec3 &origin=Vec3(0.0, 0.0, 0.0))
 Rotation3 (const Vec3 &axis, Real angle, const Vec3 &origin=Vec3(0.0, 0.0, 0.0))
 Rotation3 (const Line3 &line, Real angle)
 Rotation3 (const Mat3 &rot, const Vec3 &origin=Vec3(0.0, 0.0, 0.0))
 Rotation3 (const Quat &q, const Vec3 &origin=Vec3(0.0, 0.0, 0.0))
Vec3 GetOrigin () const
Real GetPhi () const
Real GetTheta () const
Real GetPsi () const
Quat GetQuat () const
Vec3 GetRotationAxis () const
Real GetRotationAngle () const
Mat3 GetRotationMatrix () const
void SetOrigin (const Vec3 &o)
void SetPhi (Real phi)
void SetTheta (Real theta)
void SetPsi (Real psi)
void SetQuat (const Quat &q)
void SetRotationAxis (const Vec3 &v)
void SetRotationAngle (Real angle)
void SetRotationMatrix (const Mat3 &rot)
Vec3 Apply (const Vec3 &) const
bool operator== (const Rotation3 &rhs) const

Detailed Description

Definition at line 144 of file composite3.hh.


Constructor & Destructor Documentation

Rotation3 (  ) 
Rotation3 ( Real  phi,
Real  theta,
Real  psi,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)
Rotation3 ( const Vec3 axis,
Real  angle,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)
Rotation3 ( const Line3 line,
Real  angle 
)
Rotation3 ( const Mat3 rot,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)
Rotation3 ( const Quat q,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)

Member Function Documentation

Vec3 Apply ( const Vec3  )  const
Vec3 GetOrigin (  )  const
Real GetPhi (  )  const
Real GetPsi (  )  const
Quat GetQuat (  )  const
Real GetRotationAngle (  )  const
Vec3 GetRotationAxis (  )  const
Mat3 GetRotationMatrix (  )  const
Real GetTheta (  )  const
bool operator== ( const Rotation3 rhs  )  const
void SetOrigin ( const Vec3 o  ) 
void SetPhi ( Real  phi  ) 
void SetPsi ( Real  psi  ) 
void SetQuat ( const Quat q  ) 
void SetRotationAngle ( Real  angle  ) 
void SetRotationAxis ( const Vec3 v  ) 
void SetRotationMatrix ( const Mat3 rot  ) 
void SetTheta ( Real  theta  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1