OpenStudio:utilities
Loading...
Searching...
No Matches
openstudio::EulerAngles Class Reference

#include <EulerAngles.hpp>

Public Member Functions

 EulerAngles ()
 default constructor with no rotation
 
 EulerAngles (double psi, double theta, double phi)
 constructor with psi, theta, phi
 
double phi () const
 get phi
 
double psi () const
 get psi
 
double theta () const
 get theta
 

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

◆ EulerAngles() [1/2]

openstudio::EulerAngles::EulerAngles ( )

default constructor with no rotation

◆ EulerAngles() [2/2]

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

constructor with psi, theta, phi

Member Function Documentation

◆ phi()

double openstudio::EulerAngles::phi ( ) const

get phi

◆ psi()

double openstudio::EulerAngles::psi ( ) const

get psi

◆ theta()

double openstudio::EulerAngles::theta ( ) const

get theta