Data structure for Euler angles in three dimensions.
More...
#include <JEulerAngle3D.hh>
Data structure for Euler angles in three dimensions.
This class implements the JMATH::JMath interface.
Definition at line 34 of file JEulerAngle3D.hh.
◆ JEulerAngle3D() [1/4]
JGEOMETRY3D::JEulerAngle3D::JEulerAngle3D |
( |
| ) |
|
|
inline |
◆ JEulerAngle3D() [2/4]
JGEOMETRY3D::JEulerAngle3D::JEulerAngle3D |
( |
const double |
alpha, |
|
|
const double |
beta, |
|
|
const double |
gamma |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
alpha | alpha angle [rad] |
beta | beta angle [rad] |
gamma | gamma angle [rad] |
Definition at line 55 of file JEulerAngle3D.hh.
◆ JEulerAngle3D() [3/4]
JGEOMETRY3D::JEulerAngle3D::JEulerAngle3D |
( |
const JAngle3D & |
angle | ) |
|
|
inline |
◆ JEulerAngle3D() [4/4]
JGEOMETRY3D::JEulerAngle3D::JEulerAngle3D |
( |
const JVersor3D & |
versor | ) |
|
|
inline |
◆ getEulerAngle()
const JEulerAngle3D& JGEOMETRY3D::JEulerAngle3D::getEulerAngle |
( |
| ) |
const |
|
inline |
Get Euler angle.
- Returns
- this angle
Definition at line 93 of file JEulerAngle3D.hh.
95 return static_cast<const JEulerAngle3D&>(*
this);
◆ setEulerAngle()
void JGEOMETRY3D::JEulerAngle3D::setEulerAngle |
( |
const JEulerAngle3D & |
angle | ) |
|
|
inline |
Set Euler angle.
- Parameters
-
Definition at line 104 of file JEulerAngle3D.hh.
106 static_cast<JEulerAngle3D&>(*
this) = angle;
◆ negate()
◆ add()
◆ sub()
◆ mul() [1/2]
JEulerAngle3D& JGEOMETRY3D::JEulerAngle3D::mul |
( |
const double |
factor | ) |
|
|
inline |
Scale angle.
- Parameters
-
factor | multiplication factor |
- Returns
- this angle
Definition at line 163 of file JEulerAngle3D.hh.
◆ div()
JEulerAngle3D& JGEOMETRY3D::JEulerAngle3D::div |
( |
const double |
factor | ) |
|
|
inline |
◆ getAlpha()
double JGEOMETRY3D::JEulerAngle3D::getAlpha |
( |
| ) |
const |
|
inline |
◆ getBeta()
double JGEOMETRY3D::JEulerAngle3D::getBeta |
( |
| ) |
const |
|
inline |
◆ getGamma()
double JGEOMETRY3D::JEulerAngle3D::getGamma |
( |
| ) |
const |
|
inline |
◆ mul() [2/2]
Multiply with object.
- Parameters
-
- Returns
- result object
Definition at line 273 of file JMath.hh.
◆ operator>> [1/2]
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JEulerAngle3D & |
angle |
|
) |
| |
|
friend |
Read Euler angles from input.
- Parameters
-
in | input stream |
angle | Euler angles |
- Returns
- input stream
Definition at line 229 of file JEulerAngle3D.hh.
◆ operator<< [1/2]
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JEulerAngle3D & |
angle |
|
) |
| |
|
friend |
Write Euler angles to output.
- Parameters
-
out | output stream |
angle | Euler angle |
- Returns
- output stream
Definition at line 244 of file JEulerAngle3D.hh.
◆ operator>> [2/2]
Read Euler angles from input.
- Parameters
-
in | reader |
angle | Euler angles |
- Returns
- reader
Definition at line 259 of file JEulerAngle3D.hh.
◆ operator<< [2/2]
Write Euler angles to output.
- Parameters
-
out | writer |
angle | Euler angles |
- Returns
- writer
Definition at line 276 of file JEulerAngle3D.hh.
◆ __alpha
double JGEOMETRY3D::JEulerAngle3D::__alpha |
|
protected |
◆ __beta
double JGEOMETRY3D::JEulerAngle3D::__beta |
|
protected |
◆ __gamma
double JGEOMETRY3D::JEulerAngle3D::__gamma |
|
protected |
The documentation for this class was generated from the following file: