OpenStudioCore:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "EulerAngles.hpp"

Public Member Functions

 EulerAngles ()
 EulerAngles (double psi, double theta, double phi)
 EulerAngles (const EulerAngles &other)
double phi () const
double psi () const
double theta () const

Detailed Description

Euler angles specify an orientation in space, they characterize: a rotation of psi radians about the x-axis followed by a rotation of theta radians about the y-axis followed by a rotation of phi radians about the z-axis.

Constructor & Destructor Documentation

openstudio::EulerAngles::EulerAngles ( )

default constructor with no rotation

openstudio::EulerAngles::EulerAngles ( double  psi,
double  theta,
double  phi 
)

constructor with psi, theta, phi

openstudio::EulerAngles::EulerAngles ( const EulerAngles other)

copy constructor

Member Function Documentation

double openstudio::EulerAngles::phi ( ) const

get phi

double openstudio::EulerAngles::psi ( ) const

get psi

double openstudio::EulerAngles::theta ( ) const

get theta