33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/casa/Quanta/Quantum.h>
Quantum< Vector< Double > > getAngle(const Unit &unit) const
Euler(Double in0, uInt ax0, Double in1=0, uInt ax1=0, Double in2=0, uInt ax2=0)
Constructs an Euler with specified angles and axes.
friend ostream & operator<<(ostream &os, const Euler &eul)
Output Euler angles.
Euler(Double in0, Double in1=0, Double in2=0)
Constructs an Euler with specified angles and (1,2,3) axes.
Vector< Double > euler
vector with 3 Euler angles (data.first)
Euler(const Quantity &in0)
const Double & operator()(uInt which) const
Quantum< Vector< Double > > getAngle() const
with the optional conversion units.
Double & operator()(uInt which)
Return the which' angle.
Euler(const Quantity &in0, const Quantity &in1, const Quantity &in2)
Euler operator-() const
The unary minus reverses the sign and order of the Euler angles.
Euler operator+(const Euler &right) const
Euler(const Euler &other)
Copy constructor.
void set(uInt ax0, uInt ax1, uInt ax2)
Set all axes.
Vector< Int > axes
Axes (data.second)
void set(uInt which, uInt ax)
Set an axis.
Int get(uInt which) const
Get an axis.
Euler & operator-=(const Euler &right)
Euler(const Quantity &in0, const Quantity &in1)
static Double makeRad(const Quantity &in)
The makeRad functions check and convert the input Quantities to radians.
Euler(const Quantity &in0, uInt ax0, const Quantity &in1, uInt ax1, const Quantity &in2, uInt ax2=0)
Euler(const Quantum< Vector< Double > > &in)
Constructs an Euler (zero filled) from elements of Quantity vector.
Euler(const Quantity &in0, uInt ax0, const Quantity &in1, uInt ax1=0)
Euler(const Quantum< Vector< Double > > &in, const Vector< uInt > &ax)
Euler operator-(const Euler &right) const
Euler(const Quantity &in0, uInt ax0)
Euler & operator+=(const Euler &right)
Addition and subtraction.
Euler & operator=(const Euler &other)
Copy assignment.
static Vector< Double > makeRad(const Quantum< Vector< Double > > &in)
Euler()
Default constructor generates zero filled Double vector of length 3, with (1,2,3) axes.
this file contains all the compiler specific defines