OpenStructure
Public Member Functions
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() [1/6]

Rotation3 ( )

◆ Rotation3() [2/6]

Rotation3 ( Real  phi,
Real  theta,
Real  psi,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)

◆ Rotation3() [3/6]

Rotation3 ( const Vec3 axis,
Real  angle,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)

◆ Rotation3() [4/6]

Rotation3 ( const Line3 line,
Real  angle 
)

◆ Rotation3() [5/6]

Rotation3 ( const Mat3 rot,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)

◆ Rotation3() [6/6]

Rotation3 ( const Quat q,
const Vec3 origin = Vec3(0.0, 0.0, 0.0) 
)

Member Function Documentation

◆ Apply()

Vec3 Apply ( const Vec3 ) const

◆ GetOrigin()

Vec3 GetOrigin ( ) const

◆ GetPhi()

Real GetPhi ( ) const

◆ GetPsi()

Real GetPsi ( ) const

◆ GetQuat()

Quat GetQuat ( ) const

◆ GetRotationAngle()

Real GetRotationAngle ( ) const

◆ GetRotationAxis()

Vec3 GetRotationAxis ( ) const

◆ GetRotationMatrix()

Mat3 GetRotationMatrix ( ) const

◆ GetTheta()

Real GetTheta ( ) const

◆ operator==()

bool operator== ( const Rotation3 rhs) const

◆ SetOrigin()

void SetOrigin ( const Vec3 o)

◆ SetPhi()

void SetPhi ( Real  phi)

◆ SetPsi()

void SetPsi ( Real  psi)

◆ SetQuat()

void SetQuat ( const Quat q)

◆ SetRotationAngle()

void SetRotationAngle ( Real  angle)

◆ SetRotationAxis()

void SetRotationAxis ( const Vec3 v)

◆ SetRotationMatrix()

void SetRotationMatrix ( const Mat3 rot)

◆ SetTheta()

void SetTheta ( Real  theta)

The documentation for this class was generated from the following file: