1#ifndef __JEULERANGLE3D__
2#define __JEULERANGLE3D__
37 public JMath<JEulerAngle3D>
85 __beta (versor.getTheta()),
250 out << format << angle.
getAlpha() <<
' '
251 << format << angle.
getBeta() <<
' '
JFormat_t & getFormat()
Get format for given type.
Base class for data structures with artithmetic capabilities.
Data structure for angles in three dimensions.
Data structure for Euler angles in three dimensions.
JEulerAngle3D(const JAngle3D &angle)
Constructor.
JEulerAngle3D()
Default constructor.
JEulerAngle3D & negate()
Negate angle.
friend std::ostream & operator<<(std::ostream &out, const JEulerAngle3D &angle)
Write Euler angles to output.
JEulerAngle3D & sub(const JEulerAngle3D &angle)
Subtract angle.
friend std::istream & operator>>(std::istream &in, JEulerAngle3D &angle)
Read Euler angles from input.
JEulerAngle3D(const double alpha, const double beta, const double gamma)
Constructor.
double getBeta() const
Get beta angle.
double getAlpha() const
Get alpha angle.
void setEulerAngle(const JEulerAngle3D &angle)
Set Euler angle.
friend JWriter & operator<<(JWriter &out, const JEulerAngle3D &angle)
Write Euler angles to output.
JEulerAngle3D & div(const double factor)
Scale angle.
const JEulerAngle3D & getEulerAngle() const
Get Euler angle.
friend JReader & operator>>(JReader &in, JEulerAngle3D &angle)
Read Euler angles from input.
JEulerAngle3D & add(const JEulerAngle3D &angle)
Add angle.
JEulerAngle3D(const JVersor3D &versor)
Constructor.
JEulerAngle3D & mul(const double factor)
Scale angle.
double getGamma() const
Get gamma angle.
Data structure for normalised vector in three dimensions.
Interface for binary input.
Interface for binary output.
Auxiliary classes and methods for 3D geometrical objects and operations.
static const double PI
Mathematical constants.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary base class for aritmetic operations of derived class types.