Go to the documentation of this file. 1 #ifndef __JEULERANGLE3D__
2 #define __JEULERANGLE3D__
83 __beta (versor.getTheta()),
95 return static_cast<const JEulerAngle3D&>(*
this);
106 static_cast<JEulerAngle3D&>(*
this) = angle;
Interface for binary input.
JEulerAngle3D & add(const JEulerAngle3D &angle)
Add angle.
JEulerAngle3D & sub(const JEulerAngle3D &angle)
Subtract angle.
JEulerAngle3D(const JAngle3D &angle)
Constructor.
double getGamma() const
Get gamma angle.
JEulerAngle3D(const JVersor3D &versor)
Constructor.
Data structure for normalised vector in three dimensions.
Auxiliary base class for aritmetic operations of derived class types.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getBeta() const
Get beta angle.
Interface for binary output.
friend JWriter & operator<<(JWriter &out, const JEulerAngle3D &angle)
Write Euler angles to output.
double getAlpha() const
Get alpha angle.
friend std::istream & operator>>(std::istream &in, JEulerAngle3D &angle)
Read Euler angles from input.
const JEulerAngle3D & getEulerAngle() const
Get Euler angle.
Data structure for angles in three dimensions.
JEulerAngle3D(const double alpha, const double beta, const double gamma)
Constructor.
JEulerAngle3D & negate()
Negate angle.
void setEulerAngle(const JEulerAngle3D &angle)
Set Euler angle.
JEulerAngle3D & mul(const double factor)
Scale angle.
JEulerAngle3D()
Default constructor.
Auxiliary classes and methods for 3D geometrical objects and operations.
Data structure for Euler angles in three dimensions.
friend std::ostream & operator<<(std::ostream &out, const JEulerAngle3D &angle)
Write Euler angles to output.
JEulerAngle3D & div(const double factor)
Scale angle.
friend JReader & operator>>(JReader &in, JEulerAngle3D &angle)
Read Euler angles from input.