Jpp
15.0.2
the software that should make you happy
|
Data structure for Euler angles in three dimensions. More...
#include <JEulerAngle3D.hh>
Public Member Functions | |
JEulerAngle3D () | |
Default constructor. More... | |
JEulerAngle3D (const double alpha, const double beta, const double gamma) | |
Constructor. More... | |
JEulerAngle3D (const JAngle3D &angle) | |
Constructor. More... | |
JEulerAngle3D (const JVersor3D &versor) | |
Constructor. More... | |
const JEulerAngle3D & | getEulerAngle () const |
Get Euler angle. More... | |
void | setEulerAngle (const JEulerAngle3D &angle) |
Set Euler angle. More... | |
JEulerAngle3D & | negate () |
Negate angle. More... | |
JEulerAngle3D & | add (const JEulerAngle3D &angle) |
Add angle. More... | |
JEulerAngle3D & | sub (const JEulerAngle3D &angle) |
Subtract angle. More... | |
JEulerAngle3D & | mul (const double factor) |
Scale angle. More... | |
JEulerAngle3D & | div (const double factor) |
Scale angle. More... | |
double | getAlpha () const |
Get alpha angle. More... | |
double | getBeta () const |
Get beta angle. More... | |
double | getGamma () const |
Get gamma angle. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
Protected Attributes | |
double | __alpha |
double | __beta |
double | __gamma |
Friends | |
std::istream & | operator>> (std::istream &in, JEulerAngle3D &angle) |
Read Euler angles from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JEulerAngle3D &angle) |
Write Euler angles to output. More... | |
JReader & | operator>> (JReader &in, JEulerAngle3D &angle) |
Read Euler angles from input. More... | |
JWriter & | operator<< (JWriter &out, const JEulerAngle3D &angle) |
Write Euler angles to output. More... | |
Data structure for Euler angles in three dimensions.
This class implements the JMATH::JMath interface.
Definition at line 36 of file JEulerAngle3D.hh.
|
inline |
|
inline |
Constructor.
alpha | alpha angle [rad] |
beta | beta angle [rad] |
gamma | gamma angle [rad] |
Definition at line 57 of file JEulerAngle3D.hh.
|
inline |
|
inline |
Constructor.
versor | versor |
Definition at line 83 of file JEulerAngle3D.hh.
|
inline |
Get Euler angle.
Definition at line 95 of file JEulerAngle3D.hh.
|
inline |
Set Euler angle.
angle | Euler angle |
Definition at line 106 of file JEulerAngle3D.hh.
|
inline |
|
inline |
Add angle.
angle | angle |
Definition at line 133 of file JEulerAngle3D.hh.
|
inline |
Subtract angle.
angle | angle |
Definition at line 149 of file JEulerAngle3D.hh.
|
inline |
Scale angle.
factor | multiplication factor |
Definition at line 165 of file JEulerAngle3D.hh.
|
inline |
Scale angle.
factor | division factor |
Definition at line 181 of file JEulerAngle3D.hh.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 357 of file JMath.hh.
|
friend |
Read Euler angles from input.
in | input stream |
angle | Euler angles |
Definition at line 231 of file JEulerAngle3D.hh.
|
friend |
Write Euler angles to output.
out | output stream |
angle | Euler angle |
Definition at line 246 of file JEulerAngle3D.hh.
|
friend |
Read Euler angles from input.
in | reader |
angle | Euler angles |
Definition at line 265 of file JEulerAngle3D.hh.
|
friend |
Write Euler angles to output.
out | writer |
angle | Euler angles |
Definition at line 282 of file JEulerAngle3D.hh.
|
protected |
Definition at line 293 of file JEulerAngle3D.hh.
|
protected |
Definition at line 294 of file JEulerAngle3D.hh.
|
protected |
Definition at line 295 of file JEulerAngle3D.hh.