INET Framework for OMNeT++/OMNEST
inet::EulerAngles Class Reference

#include <EulerAngles.h>

Public Member Functions

 EulerAngles ()
 
 EulerAngles (double alpha, double beta=0.0, double gamma=0.0)
 
bool isNil () const
 
bool isUnspecified () const
 
EulerAngles operator+ (const EulerAngles a) const
 
EulerAngles operator- (const EulerAngles a) const
 
EulerAngles operator* (float f) const
 

Public Attributes

double alpha
 
double beta
 
double gamma
 

Static Public Attributes

static const EulerAngles ZERO = EulerAngles(0.0, 0.0, 0.0)
 
static const EulerAngles NIL = EulerAngles(NaN, NaN, NaN)
 

Private Member Functions

void copy (const EulerAngles &other)
 

Constructor & Destructor Documentation

inet::EulerAngles::EulerAngles ( )
inline
26  : alpha(0.0), beta(0.0), gamma(0.0) {}
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
double alpha
Definition: EulerAngles.h:17
inet::EulerAngles::EulerAngles ( double  alpha,
double  beta = 0.0,
double  gamma = 0.0 
)
inline
29  : alpha(alpha), beta(beta), gamma(gamma) {}
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
double alpha
Definition: EulerAngles.h:17

Member Function Documentation

void inet::EulerAngles::copy ( const EulerAngles other)
inlineprivate
22 { alpha = other.alpha; beta = other.beta; gamma = other.gamma; }
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
double alpha
Definition: EulerAngles.h:17
bool inet::EulerAngles::isNil ( ) const
inline
32  {
33  return this == &NIL;
34  }
static const EulerAngles NIL
Definition: EulerAngles.h:13
bool inet::EulerAngles::isUnspecified ( ) const
inline
37  {
38  return std::isnan(alpha) && std::isnan(beta) && std::isnan(gamma);
39  }
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
double alpha
Definition: EulerAngles.h:17
EulerAngles inet::EulerAngles::operator* ( float  f) const
inline
45 { return EulerAngles(alpha * f, beta * f, gamma * f); }
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
EulerAngles()
Definition: EulerAngles.h:25
double alpha
Definition: EulerAngles.h:17
EulerAngles inet::EulerAngles::operator+ ( const EulerAngles  a) const
inline
41 { return EulerAngles(alpha + a.alpha, beta + a.beta, gamma + a.gamma); }
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
EulerAngles()
Definition: EulerAngles.h:25
double alpha
Definition: EulerAngles.h:17
EulerAngles inet::EulerAngles::operator- ( const EulerAngles  a) const
inline
43 { return EulerAngles(alpha - a.alpha, beta - a.beta, gamma - a.gamma); }
double gamma
Definition: EulerAngles.h:19
double beta
Definition: EulerAngles.h:18
EulerAngles()
Definition: EulerAngles.h:25
double alpha
Definition: EulerAngles.h:17

Member Data Documentation


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