28 #ifndef CASA_ROTMATRIX_H
29 #define CASA_ROTMATRIX_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Matrix.h>
35 #include <casacore/casa/Arrays/Vector.h>
36 #include <casacore/casa/iosfwd.h>
void applySingle(Double angle, Int which)
Apply to a rotation matrix a further rotation of angle around the specified axis which (0 or 1 or 2).
RotMatrix()
Default constructor generates a unit 3x3 matrix.
void transpose()
Transpose the rotation matrix.
void set(const Vector< Double > &in0, const Vector< Double > &in1, const Vector< Double > &in2)
Fill Rotation matrix from 3 (row) vectors.
friend ostream & operator<<(ostream &os, const RotMatrix &rot)
Output a rotation matrix as a matrix.
Double & operator()(uInt row, uInt column)
Return the indicated element.
Double rotat[3][3]
The rotation matrix (3x3)
void set(const Matrix< Double > &in)
Fill Rotation matrix from Matrix.
RotMatrix(const Euler &other)
Make from an Euler.
RotMatrix(const Euler &other, Int ax0, Int ax1, Int ax2)
Make from an Euler around specified axes.
const Double & operator()(uInt row, uInt column) const
RotMatrix & operator=(const RotMatrix &other)
Copy assignment.
RotMatrix & operator*=(const RotMatrix &other)
The multiplication operations generate matrix products.
Matrix< Double > get() const
Get as Matrix.
RotMatrix operator*(const RotMatrix &other) const
RotMatrix(const RotMatrix &other)
The copy constructor copies.
this file contains all the compiler specific defines